[Groonga-commit] groonga/groonga at 4c7a3ed [master] doc groonga-httpd: add more description about query log usage

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Sep 26 18:51:14 JST 2013


Kouhei Sutou	2013-09-26 18:51:14 +0900 (Thu, 26 Sep 2013)

  New Revision: 4c7a3ed9f5b978bf2446878b1d43982dbf765090
  https://github.com/groonga/groonga/commit/4c7a3ed9f5b978bf2446878b1d43982dbf765090

  Message:
    doc groonga-httpd: add more description about query log usage

  Modified files:
    doc/source/reference/executables/groonga-httpd.txt

  Modified: doc/source/reference/executables/groonga-httpd.txt (+17 -5)
===================================================================
--- doc/source/reference/executables/groonga-httpd.txt    2013-09-26 18:47:50 +0900 (794857e)
+++ doc/source/reference/executables/groonga-httpd.txt    2013-09-26 18:51:14 +0900 (e43429e)
@@ -256,9 +256,10 @@ Default
 Context
   ``http``, ``server``, ``location``
 
-Specifies groonga log path in the ``http``, ``server`` or ``location`` block. The
-default is ``/var/log/groonga/httpd/groonga-query.log``.
-You can disable logging to specify ``off``.
+Specifies groonga's query log path in the ``http``, ``server`` or
+``location`` block. The default is
+``/var/log/groonga/httpd/groonga-query.log``.  You can disable logging
+to specify ``off``.
 
 Examples::
 
@@ -268,8 +269,19 @@ Examples::
     groonga_query_log_path off;
   }
 
-Use ``groonga_query_log_path`` for investigating the query which is related to
-the issue such as crashed worker process for example.
+Query log is useful for the following cases:
+
+  * Detecting slow query.
+  * Debugging.
+
+You can analyze your query log by `groonga-query-log package
+<https://github.com/groonga/groonga-query-log>`_. The package provides
+useful tools.
+
+For example, there is a tool that analyzing your query log. It can
+detect slow queries from your query log. There is a tool that
+replaying same queries in your query log. It can test the new groonga
+before updating production environment.
 
 Performance related directives
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-------------- next part --------------
HTML����������������������������...
Download 



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