Kentaro Hayashi 2019-04-23 15:51:21 +0900 (Tue, 23 Apr 2019) Revision: b83dcc9968e00d3e592fe5976e61999f17108e75 https://github.com/groonga/groonga/commit/b83dcc9968e00d3e592fe5976e61999f17108e75 Message: doc: add grndb --log-flags explanation (#945) * doc: add grndb --log-flags explanation * doc: translate po Modified files: doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/executables/grndb.rst Modified: doc/locale/ja/LC_MESSAGES/reference.po (+23 -1) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2019-04-23 15:35:46 +0900 (30f6ba6be) +++ doc/locale/ja/LC_MESSAGES/reference.po 2019-04-23 15:51:21 +0900 (68237eb15) @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.2.1\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2019-04-17 17:50+0900\n" +"PO-Revision-Date: 2019-04-23 14:57+0900\n" "Last-Translator: Masafumi Yokoyama <yokoy****@clear*****>\n" "Language-Team: Japanese\n" "Language: ja\n" @@ -17291,6 +17291,25 @@ msgstr "``grndb`` のログ出力先のパスを指定します。" msgid "Here is an example that specifies ``--log-path`` option::" msgstr "以下は ``--log-path`` オプションを指定する例です。" +msgid "``--log-flags``" +msgstr "" + +msgid "" +"It specifies a logged content in ``grndb`` log by flags. The default value " +"of ``--log-flags`` is ``time|message``. It means that timestamp and log " +"messages are logged into ``grndb`` log." +msgstr "" +"``grndb`` のログに出力する内容をフラグで指定します。 ``--log-flags`` のデフォ" +"ルト値は ``time|message`` です。 ``grndb`` のログにタイムスタンプとログメッ" +"セージを出力することを意味します。" + +msgid "Here is an example that specifies ``--log-flags`` option::" +msgstr "以下は ``--log-flags`` オプションを指定する例です。" + +msgid "See :doc:`groonga` to know about supported log flags." +msgstr "" +"サポートされているログフラグについては :doc:`groonga` を参照してください。" + msgid "``recover``" msgstr "" @@ -29272,3 +29291,6 @@ msgstr "" msgid "``window_sum``" msgstr "" + +#~ msgid "It specifies a flag of ``grndb`` log." +#~ msgstr "``grndb`` のログに出力する内容を指定します。" Modified: doc/source/reference/executables/grndb.rst (+26 -0) =================================================================== --- doc/source/reference/executables/grndb.rst 2019-04-23 15:35:46 +0900 (a75e17c14) +++ doc/source/reference/executables/grndb.rst 2019-04-23 15:51:21 +0900 (b0403eb76) @@ -118,6 +118,19 @@ Here is an example that specifies ``--log-path`` option:: % grndb check --log-path /var/log/groonga/grndb.log /var/lib/groonga/db/db +``--log-flags`` +""""""""""""""" + +.. versionadded:: 9.0.2 + +It specifies a logged content in ``grndb`` log by flags. +The default value of ``--log-flags`` is ``time|message``. It means that timestamp and log messages are logged into ``grndb`` log. + +Here is an example that specifies ``--log-flags`` option:: + + % grndb check --log-path /var/log/groonga/grndb.log --log-flags "time|pid|message" /var/lib/groonga/db/db + +See :doc:`groonga` to know about supported log flags. ``recover`` ^^^^^^^^^^^ @@ -227,3 +240,16 @@ Here is an example that specifies ``--log-path`` option:: % grndb recover --log-path /var/log/groonga/grndb.log /var/lib/groonga/db/db +``--log-flags`` +""""""""""""""" + +.. versionadded:: 9.0.2 + +It specifies a logged content in ``grndb`` log by flags. +The default value of ``--log-flags`` is ``time|message``. It means that timestamp and log messages are logged into ``grndb`` log. + +Here is an example that specifies ``--log-flags`` option:: + + % grndb check --log-path /var/log/groonga/grndb.log --log-flags "time|pid|message" /var/lib/groonga/db/db + +See :doc:`groonga` to know about supported log flags. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190423/2c8719f9/attachment-0001.html>