Yasuhiro Horimoto 2019-01-22 16:01:49 +0900 (Tue, 22 Jan 2019) Revision: c711651af285cd4a03ddb8260b651e0702b69c3f https://github.com/groonga/groonga/commit/c711651af285cd4a03ddb8260b651e0702b69c3f Message: doc: add an explanation for --log-flags option Modified files: doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/executables/groonga.rst Modified: doc/locale/ja/LC_MESSAGES/reference.po (+66 -0) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2019-01-22 12:24:08 +0900 (e422585f3) +++ doc/locale/ja/LC_MESSAGES/reference.po 2019-01-22 16:01:49 +0900 (006cbc6c7) @@ -19051,6 +19051,72 @@ msgid "" "groonga.logです)" msgstr "" +msgid "Specify log flags. Default value is ``time|message``." +msgstr "ログフラグを指定します。デフォルト値は ``time|message`` です。" + +msgid "``+`` prefix means that ``add the flag``." +msgstr "``+`` 接頭辞は、フラグを追加します。" + +msgid "``-`` prefix means that ``remove the flag``." +msgstr "``-`` 接頭辞は、フラグを削除します。" + +msgid "No prefix means that ``replace existing flags``." +msgstr "接頭辞無しは、既存のフラグを置き換えます。" + +msgid "Multiple log flags can be specified by separating flags with ``|``." +msgstr "``|`` でフラグを区切ることで、複数のログフラグを指定できます。" + +msgid "We can specify flags below." +msgstr "指定できるフラグは以下の通りです。" + +msgid "Output nothing into the log." +msgstr "ログに何も出力しません。" + +msgid "Output time stamp into the log." +msgstr "タイムスタンプをログに出力します。" + +msgid "``time``" +msgstr "" + +msgid "Output log message into the log." +msgstr "ログメッセージをログに出力します。" + +msgid "" +"Output process id and a location of an output of the log (file name, line " +"and function name) into the log." +msgstr "" +"プロセスIDとログの出力場所(ファイル名、行数、関数名)をログに出力します。" + +msgid "Output process id into the log." +msgstr "プロセスIDをログに出力します。" + +msgid "``process_id``" +msgstr "" + +msgid "This flag is an alias of ``process_id``." +msgstr "このフラグは、 ``process_id`` の別名です。" + +msgid "``pid``" +msgstr "" + +msgid "Output thread id into log" +msgstr "スレッドIDををログに出力します。" + +msgid "``thread_id``" +msgstr "" + +msgid "This flag specifies all flags except ``none`` flag." +msgstr "このフラグは、 ``none`` フラグ以外のフラグ全てを指定します。" + +msgid "``all``" +msgstr "" + +msgid "``default``" +msgstr "" + +msgid "Output time stamp and log message into the log." +msgstr "タイムスタンプとログメッセージをログに出力します。" + msgid "" "Specifies threshold for log rotation. Log file is rotated when log file size " "is larger than or equals to the threshold (default: 0; disabled)." Modified: doc/source/reference/executables/groonga.rst (+43 -0) =================================================================== --- doc/source/reference/executables/groonga.rst 2019-01-22 12:24:08 +0900 (783b27f96) +++ doc/source/reference/executables/groonga.rst 2019-01-22 16:01:49 +0900 (078d9bd5d) @@ -266,6 +266,49 @@ Options ログを出力するファイルのパスを指定します。(デフォルトは/var/log/groonga/groonga.logです) +.. option:: --log-flags <log flags> + + .. versionadded:: 8.1.1 + + Specify log flags. Default value is ``time|message``. + + ``+`` prefix means that ``add the flag``. + + ``-`` prefix means that ``remove the flag``. + + No prefix means that ``replace existing flags``. + + Multiple log flags can be specified by separating flags with ``|``. + + We can specify flags below. + + ``none`` + Output nothing into the log. + + ``time`` + Output time stamp into the log. + + ``message`` + Output log message into the log. + + ``location`` + Output process id and a location of an output of the log (file name, line and function name) into the log. + + ``process_id`` + Output process id into the log. + + ``pid`` + This flag is an alias of ``process_id``. + + ``thread_id`` + Output thread id into log + + ``all`` + This flag specifies all flags except ``none`` flag. + + ``default`` + Output time stamp and log message into the log. + .. option:: --log-rotate-threshold-size <threshold> .. versionadded:: 5.0.3 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190122/aa41b966/attachment-0001.html>