Navigation Menu

Skip to content

Commit

Permalink
doc: use english
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Apr 5, 2017
1 parent 2a5c953 commit 31275ee
Showing 1 changed file with 45 additions and 19 deletions.
64 changes: 45 additions & 19 deletions doc/source/reference/commands/log_level.rst
Expand Up @@ -8,11 +8,7 @@
Summary
-------

log_level - ログ出力レベルの設定

Groonga組込コマンドの一つであるlog_levelについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。

log_levelは、ログ出力レベルを設定します。
``log_level`` command sets log level of Groonga.

Syntax
------
Expand All @@ -32,27 +28,57 @@ Parameters

``level``

設定するログ出力レベルの値を以下のいずれかで指定します。

emergency
alert
critical
error
warning
notice
info
debug
Specify log level with a character or string which means log level.

.. list-table::
:header-rows: 1

* - Value
- Alias
* - ``E``
- ``emerge`` or ``emergency``
* - ``A``
- ``alert``
* - ``C``
- ``crit`` or ``critical``
* - ``e``
- ``error``
* - ``w``
- ``warn`` or ``warning``
* - ``n``
- ``notice``
* - ``i``
- ``info``
* - ``d``
- ``debug``
* - ``-``
- ``dump``

Example::

emergency
alert
critical
error
warning
notice
info
debug

Return value
------------

::
``log_level`` command returns whether log level configuration is succeeded or not::

[HEADER, SUCCEEDED_OR_NOT]

``HEADER``

[成功かどうかのフラグ]
See :doc:`/reference/command/output_format` about ``HEADER``.

``成功かどうかのフラグ``
``SUCCEEDED_OR_NOT``

エラーが生じなかった場合にはtrue、エラーが生じた場合にはfalseを返す。
If command succeeded, it returns true, otherwise it returns false on error.

See also
--------
Expand Down

0 comments on commit 31275ee

Please sign in to comment.