[Groonga-mysql-commit] mroonga/mroonga [master] added description about logging in userguide documentation.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 10月 26日 (火) 13:31:57 JST


Tetsuro IKEDA	2010-10-26 04:31:57 +0000 (Tue, 26 Oct 2010)

  New Revision: c0af634e22934caf553ef1aecf1a74d401e4c581

  Log:
    added description about logging in userguide documentation.

  Modified files:
    doc/ja/source/userguide.rst

  Modified: doc/ja/source/userguide.rst (+14 -0)
===================================================================
--- doc/ja/source/userguide.rst    2010-10-19 12:04:00 +0000 (c1e0c9f)
+++ doc/ja/source/userguide.rst    2010-10-26 04:31:57 +0000 (81262ae)
@@ -69,6 +69,20 @@ INSERTでデータを投入してみましょう。 ::
 ログ出力
 ----------------------------
 
+groongaストレージエンジンではデフォルトでログの出力を行うようになっています。
+
+ログファイルはMySQLのデータディレクトリ直下に ``mroonga.log`` というファイル名で出力されます。
+
+以下はログの出力例です。 ::
+
+ 2010-10-07 17:32:39.209379|n|b1858f80|mroonga 0.1 init
+ 2010-10-07 17:32:44.934048|d|46953940|hash get not found (key=test)
+ 2010-10-07 17:32:44.936113|d|46953940|hash put (key=test)
+
+現在のgroongaストレージエンジンは開発バージョンということもあり、ログの出力レベルは最大(=DUMP)となっております。
+
+ログの出力レベルの変更や"flush logs"への対応はまだ行われておりませんが、将来のバージョンで対応される予定となっています。
+
 カラムの刈り込み
 ----------------------------
 




Groonga-mysql-commit メーリングリストの案内
Back to archive index