[Groonga-commit] pgroonga/pgroonga.github.io at fba990a [master] Update log_path

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 23 21:28:54 JST 2015


Kouhei Sutou	2015-12-23 21:28:54 +0900 (Wed, 23 Dec 2015)

  New Revision: fba990a9224bb14ad7986ed0c9fec51e671babac
  https://github.com/pgroonga/pgroonga.github.io/commit/fba990a9224bb14ad7986ed0c9fec51e671babac

  Message:
    Update log_path

  Added files:
    _po/ja/reference/parameters/log_path.po
  Modified files:
    ja/reference/parameters/log_path.md
    reference/parameters/log_path.md

  Added: _po/ja/reference/parameters/log_path.po (+96 -0) 100644
===================================================================
--- /dev/null
+++ _po/ja/reference/parameters/log_path.po    2015-12-23 21:28:54 +0900 (787a6f3)
@@ -0,0 +1,96 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2015-12-23 21:28+0900\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+msgid ""
+"---\n"
+"title: \"pgroonga.log_path\"\n"
+"layout: en\n"
+"---"
+msgstr ""
+"---\n"
+"title: \"pgroonga.log_path\"\n"
+"layout: ja\n"
+"---"
+
+msgid "# `pgroonga.log_path` parameter"
+msgstr "# `pgroonga.log_path`パラメーター"
+
+msgid "## Summary"
+msgstr "## 概要"
+
+msgid "`pgroonga.log_path` parameter controls log path."
+msgstr "`pgroonga.log_path`パラメーターはログのパスを制御します。"
+
+msgid ""
+"This parameter is only effective when [`pgroonga.log_type`](log_type.html) is "
+"`file`."
+msgstr "このパラメーターは[`pgroonga.log_type`](log_type.html)の値が`file`の時だけ有効です。"
+
+msgid "The default value is `$PGDATA/pgroonga.log`."
+msgstr "デフォルト値は`$PGDATA/pgroonga.log`です。"
+
+msgid "You can disable log output by specifying `none` as path."
+msgstr "パスに`none`を指定するとログ出力を無効にできます。"
+
+msgid "## Syntax"
+msgstr "## 構文"
+
+msgid "In SQL:"
+msgstr "SQLの場合:"
+
+msgid ""
+"```sql\n"
+"SET pgroonga.log_path = path;\n"
+"```"
+msgstr ""
+
+msgid "In `postgresql.conf`:"
+msgstr "`postgresql.conf`の場合:"
+
+msgid ""
+"```text\n"
+"pgroonga.log_path = path\n"
+"```"
+msgstr ""
+
+msgid ""
+"`path` is a string value. It means that you need to quote `path` value such as"
+" `'/var/log/pgroonga.log'`."
+msgstr "`path`は文字列の値です。つまり、`'/var/log/pgroonga.log'`のように`path`の値をクォートする必要があるということです。"
+
+msgid "PGroonga outputs log to `path`."
+msgstr "PGroongaはログを`path`に出力します。"
+
+msgid "## Usage"
+msgstr "## 使い方"
+
+msgid "Here is an example to output log to `/var/log/pgroonga.log`:"
+msgstr "ログを`/var/log/pgroonga.log`に出力する例です。"
+
+msgid ""
+"```sql\n"
+"SET pgroonga.log_path = '/var/log/pgroonga.log';\n"
+"```"
+msgstr ""
+
+msgid "Here is an example to disable log:"
+msgstr "ログを無効にする例です。"
+
+msgid ""
+"```sql\n"
+"SET pgroonga.log_path = 'none';\n"
+"```"
+msgstr ""
+
+msgid "## See also"
+msgstr "## 参考"
+
+msgid "  * [`pgroonga.log_type`](log_type.html)"
+msgstr ""

  Modified: ja/reference/parameters/log_path.md (+38 -4)
===================================================================
--- ja/reference/parameters/log_path.md    2015-12-23 21:25:31 +0900 (84c5735)
+++ ja/reference/parameters/log_path.md    2015-12-23 21:28:54 +0900 (68cc15a)
@@ -3,16 +3,50 @@ title: "pgroonga.log_path"
 layout: ja
 ---
 
-# `pgroonga.log_path`パラメータ
+# `pgroonga.log_path`パラメーター
 
 ## 概要
 
-ファイルにログを出力するときの出力先のファイル名を変更する変数です。`log_type`が`file`の場合のみ有効なパラメータです。
+`pgroonga.log_path`パラメーターはログのパスを制御します。
+
+このパラメーターは[`pgroonga.log_type`](log_type.html)の値が`file`の時だけ有効です。
+
+デフォルト値は`$PGDATA/pgroonga.log`です。
+
+パスに`none`を指定するとログ出力を無効にできます。
 
 ## 構文
 
+SQLの場合:
+
 ```sql
-set pgroonga.log_path = path
+SET pgroonga.log_path = path;
+```
+
+`postgresql.conf`の場合:
+
+```text
+pgroonga.log_path = path
 ```
 
-`path`はログファイルのパスです。未指定時は`$PGDATA/pgroonga.log`です。
+`path`は文字列の値です。つまり、`'/var/log/pgroonga.log'`のように`path`の値をクォートする必要があるということです。
+
+PGroongaはログを`path`に出力します。
+
+## 使い方
+
+ログを`/var/log/pgroonga.log`に出力する例です。
+
+```sql
+SET pgroonga.log_path = '/var/log/pgroonga.log';
+```
+
+ログを無効にする例です。
+
+```sql
+SET pgroonga.log_path = 'none';
+```
+
+## 参考
+
+  * [`pgroonga.log_type`](log_type.html)

  Modified: reference/parameters/log_path.md (+38 -4)
===================================================================
--- reference/parameters/log_path.md    2015-12-23 21:25:31 +0900 (9248c02)
+++ reference/parameters/log_path.md    2015-12-23 21:28:54 +0900 (ea75cdf)
@@ -5,14 +5,48 @@ layout: en
 
 # `pgroonga.log_path` parameter
 
-## Description
+## Summary
 
-Change output log file path. This parameter is only effective if log_type is ``file``.
+`pgroonga.log_path` parameter controls log path.
+
+This parameter is only effective when [`pgroonga.log_type`](log_type.html) is `file`.
+
+The default value is `$PGDATA/pgroonga.log`.
+
+You can disable log output by specifying `none` as path.
 
 ## Syntax
 
+In SQL:
+
 ```sql
-set pgroonga.log_path = path
+SET pgroonga.log_path = path;
+```
+
+In `postgresql.conf`:
+
+```text
+pgroonga.log_path = path
 ```
 
-`path` is log file path.Default value is ``$PGDATA/pgroonga.log`.
+`path` is a string value. It means that you need to quote `path` value such as `'/var/log/pgroonga.log'`.
+
+PGroonga outputs log to `path`.
+
+## Usage
+
+Here is an example to output log to `/var/log/pgroonga.log`:
+
+```sql
+SET pgroonga.log_path = '/var/log/pgroonga.log';
+```
+
+Here is an example to disable log:
+
+```sql
+SET pgroonga.log_path = 'none';
+```
+
+## See also
+
+  * [`pgroonga.log_type`](log_type.html)
-------------- next part --------------
HTML����������������������������...
Download 



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