[Groonga-commit] groonga/groonga at 3796e52 [master] doc: describe about log format with PID case

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 30 17:27:45 JST 2016


Kouhei Sutou	2016-11-30 17:27:45 +0900 (Wed, 30 Nov 2016)

  New Revision: 3796e521d68a5a50da90157d78915d2c97a3d93b
  https://github.com/groonga/groonga/commit/3796e521d68a5a50da90157d78915d2c97a3d93b

  Message:
    doc: describe about log format with PID case

  Modified files:
    doc/source/reference/log.rst

  Modified: doc/source/reference/log.rst (+18 -0)
===================================================================
--- doc/source/reference/log.rst    2016-11-30 10:38:37 +0900 (7e4be31)
+++ doc/source/reference/log.rst    2016-11-30 17:27:45 +0900 (8d6b537)
@@ -27,6 +27,12 @@ Process log uses the following format::
 
   #{TIME_STAMP}|#{L}| #{MESSAGE}
 
+Some multi-process based applications such as
+:doc:`/reference/executables/groonga-httpd` and `PGroonga
+<https://pgroonga.github.io/>`_ use the following format::
+
+  #{TIME_STAMP}|#{L}|#{PID}: #{MESSAGE}
+
 TIME_STAMP
   It's time stamp uses the following format::
 
@@ -92,6 +98,13 @@ L
 
     E
 
+PID
+  The process ID.
+
+  Example::
+
+    1129
+
 MESSAGE
   Details about the log with free format.
 
@@ -104,6 +117,11 @@ Example::
   2011-07-05 08:35:09.276421|n| grn_init
   2011-07-05 08:35:09.276553|n| RLIMIT_NOFILE(4096,4096)
 
+Example with PID::
+
+  2011-07-05 08:35:09.276421|n|1129: grn_init
+  2011-07-05 08:35:09.276553|n|1129: RLIMIT_NOFILE(4096,4096)
+
 .. _query-log:
 
 Query log
-------------- next part --------------
HTML����������������������������...
Download 



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