[Groonga-commit] groonga/groonga at e0fd075 [master] doc suggest: add example to save requests into log files

アーカイブの一覧に戻る

HAYASHI Kentaro null+****@clear*****
Thu May 1 18:51:50 JST 2014


HAYASHI Kentaro	2014-05-01 18:51:50 +0900 (Thu, 01 May 2014)

  New Revision: e0fd0752dc47066bb48cc68d03445d4ae7e68c73
  https://github.com/groonga/groonga/commit/e0fd0752dc47066bb48cc68d03445d4ae7e68c73

  Message:
    doc suggest: add example to save requests into log files

  Modified files:
    doc/source/reference/executables/groonga-suggest-httpd.txt

  Modified: doc/source/reference/executables/groonga-suggest-httpd.txt (+8 -0)
===================================================================
--- doc/source/reference/executables/groonga-suggest-httpd.txt    2014-05-01 18:26:35 +0900 (e1f58d8)
+++ doc/source/reference/executables/groonga-suggest-httpd.txt    2014-05-01 18:51:50 +0900 (8dcf3fda)
@@ -45,6 +45,14 @@ Execute groonga-suggest-httpd command:
 
 After executing above command, groonga-suggest-httpd accepts HTTP request on 8080 port.
 
+If you just want to save requests into log file, use '-l' option.
+
+Here is the example to save log files under 'logs' directory with 'log' prefix for each file.::
+
+  % groonga-suggest-httpd -l logs/log /tmp/groonga-databases/groonga-suggest-httpd
+
+Under 'logs' directory, log files such as 'logYYYYmmddHHMMSS-00' are created.
+
 Request to groonga-suggest-httpd
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る