Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adding debug logging to ElasticSearch client in logstash
# How to use
* Download the log4j.properties file
* Add it to your logstash jar file: jar -uf logstash-1.0.10.jar log4j.properties
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
@iboumedien

This comment has been minimized.

Copy link

commented Feb 21, 2015

Thanks

@rhuankarlus

This comment has been minimized.

Copy link

commented Jun 17, 2015

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

@OzWookiee

This comment has been minimized.

Copy link

commented Jul 8, 2015

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
You can’t perform that action at this time.