I rarely look into my ElasticSearch server logs, but when trying to
debug a current issue (JVM crashes), I noticed that I have not been
looking in a while.
The wrapper is properly logging. In fact, those logs complain about
log4j not being setup:
INFO | jvm 1 | 2012/08/17 11:33:09 | log4j:WARN No appenders
could be found for logger (node).
INFO | jvm 1 | 2012/08/17 11:33:09 | log4j:WARN Please initialize
the log4j system properly.
INFO | jvm 1 | 2012/08/17 11:33:09 | log4j:WARN See
Is logging.xml the file used for logging? I never had an issue before.
I am using the service wrapper, so I added the xml file to my
classpath. Here are some settings from my elasticsearch.conf file:
The java process starts up with the correct classpath, but log4j still
complains. Not sure at what point I lost logging.