[Groonga-mysql-commit] mroonga/mroonga [master] doc: add table about mroonga_log_level

Back to archive index

HAYASHI Kentaro null+****@clear*****
Wed Mar 20 16:47:01 JST 2013


HAYASHI Kentaro	2013-03-20 16:47:01 +0900 (Wed, 20 Mar 2013)

  New Revision: cf1ec894c5eb2fe0df08b410485a62de67181924
  https://github.com/mroonga/mroonga/commit/cf1ec894c5eb2fe0df08b410485a62de67181924

  Message:
    doc: add table about mroonga_log_level
    
    The documentation about the value list of mroonga_log_level
    is described in storage/wrapper section, but it should be
    in reference manual.
    
    [groonga-dev,01255]
    
    Reported by Kazuhiro Isobe. Thanks!!!

  Modified files:
    doc/source/reference.rst

  Modified: doc/source/reference.rst (+29 -0)
===================================================================
--- doc/source/reference.rst    2013-03-19 11:51:48 +0900 (628c5d3)
+++ doc/source/reference.rst    2013-03-20 16:47:01 +0900 (5a25d5a)
@@ -215,11 +215,40 @@ Here is an example transcript to change log file to ``/tmp/mroonga.log``::
   +------------------+------------------+
   1 row in set (0.00 sec)
 
+.. _mroonga_log_level:
+
 mroonga_log_level
 ^^^^^^^^^^^^^^^^^
 
 The output level of mroonga log file. The default value is ``NOTICE``.
 
+Here is the list of ``mroonga_log_level`` which you can use.
+
++-----------+--------------------------------------------------------------------------------+
+| Log level | Description                                                                    |
++===========+================================================================================+
+| NONE      | No logging output.                                                             |
++-----------+--------------------------------------------------------------------------------+
+| EMERG     | Logging emergency messages such as database corruption.                        |
++-----------+--------------------------------------------------------------------------------+
+| ALERT     | Logging alert messages such as internal error.                                 |
++-----------+--------------------------------------------------------------------------------+
+| CRIT      | Logging critical messasge such as deadlock.                                    |
++-----------+--------------------------------------------------------------------------------+
+| ERROR     | Logging error messages such as API error which mroonga use.                    |
++-----------+--------------------------------------------------------------------------------+
+| WARNING   | Logging warning messages such as invalid argument.                             |
++-----------+--------------------------------------------------------------------------------+
+| NOTICE    | Logging notice messages such as configuration or status changed.               |
++-----------+--------------------------------------------------------------------------------+
+| INFO      | Logging informative messages such as file system operation.                    |
++-----------+--------------------------------------------------------------------------------+
+| DEBUG     | Logging debug messages.                                                        |
+|           | Recommend to use for mroonga developer or bug reporter.                        |
++-----------+--------------------------------------------------------------------------------+
+| DUMP      | Logging dump messages.                                                         |
++-----------+--------------------------------------------------------------------------------+
+
 Here is an example transcript to change log level to ``DEBUG`` that logs many messages for debugging::
 
   mysql> SHOW VARIABLES LIKE 'mroonga_log_level';
-------------- next part --------------
HTML����������������������������...
Download 



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