如何记录来自elasticsearch的请求?
我设置elasticsearch/bin/service/elasticsearch.conf
:
wrapper.logfile=/var/log/elasticsearch/debug.log
# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel=DEBUG
但日志文件仅显示:
STATUS | wrapper | 2012/12/11 13:00:00 | TERM trapped. Shutting down.
STATUS | wrapper | 2012/12/11 13:00:02 | <-- Wrapper Stopped
STATUS | wrapper | 2012/12/11 13:00:05 | --> Wrapper Started as Daemon
STATUS | wrapper | 2012/12/11 13:00:05 | Java Service Wrapper Community Edition 64-bit 3.5.6
STATUS | wrapper | 2012/12/11 13:00:05 | Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2012/12/11 13:00:05 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2012/12/11 13:00:05 |
WARN | wrapper | 2012/12/11 13:00:05 | The value of wrapper.java.command does not appear to be a java binary.
WARN | wrapper | 2012/12/11 13:00:05 | The use of scripts is not supported. Trying to continue, but some features may not work correctly..
STATUS | wrapper | 2012/12/11 13:00:05 | Launching a JVM...
INFO | jvm 1 | 2012/12/11 13:00:05 | WrapperManager: Initializing...
没有关于我的请求的信息...
我用elasticsearch 0.17.6