Created
June 2, 2011 18:36
-
-
Save jordansissel/1004979 to your computer and use it in GitHub Desktop.
Adding debug logging to ElasticSearch client in logstash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to use | |
* Download the log4j.properties file | |
* Add it to your logstash jar file: jar -uf logstash-1.0.10.jar log4j.properties | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log4j.rootLogger=DEBUG,stdout | |
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | |
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | |
log4j.appender.stdout.layout.ConversionPattern=%5p %d{HH:mm:ss,SSS} %m%n |
I have a unpacked installation. So I have no .jar file. I run logstash with bin/logstash. How can I use this? In which directory can I drop the file?
My logstash version is 1.5.1
I'm getting the following errors after upgrading to logstash 1.5.2 on windows:
log4j:WARN No appenders could be found for logger (org.elasticsearch.node).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
fo.
https://logstash.jira.com/browse/LOGSTASH-302 <- suggests it's been fixed, but looks like it's reared it's head again.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks