[Groonga-commit] groonga/groonga at 6db6d4b [master] groonga-httpd: reset logger per request

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Sep 26 13:21:41 JST 2013


Kouhei Sutou	2013-09-26 13:21:41 +0900 (Thu, 26 Sep 2013)

  New Revision: 6db6d4be7e1f86a99b91a8e10dbf897df09f365b
  https://github.com/groonga/groonga/commit/6db6d4be7e1f86a99b91a8e10dbf897df09f365b

  Message:
    groonga-httpd: reset logger per request

  Modified files:
    src/httpd/nginx-module/ngx_http_groonga_module.c

  Modified: src/httpd/nginx-module/ngx_http_groonga_module.c (+2 -0)
===================================================================
--- src/httpd/nginx-module/ngx_http_groonga_module.c    2013-09-26 13:12:39 +0900 (16180d4)
+++ src/httpd/nginx-module/ngx_http_groonga_module.c    2013-09-26 13:21:41 +0900 (6f723a2)
@@ -339,6 +339,8 @@ ngx_http_groonga_handler_cleanup(void *user_data)
   GRN_OBJ_FIN(context, &(data->head));
   GRN_OBJ_FIN(context, &(data->body));
   GRN_OBJ_FIN(context, &(data->foot));
+  grn_logger_set(context, NULL);
+  grn_query_logger_set(context, NULL);
   grn_ctx_fin(context);
 }
 
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index