pblittle / docker-logstash

Docker image for Logstash 1.4
https://hub.docker.com/r/pblittle/docker-logstash
MIT License
236 stars 90 forks source link

log4j error? #76

Closed saitheexplorer closed 9 years ago

saitheexplorer commented 9 years ago

I'm seeing this in my docker container logs after the certs have been downloaded.

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 info.

Is this a logstash issue?

pblittle commented 9 years ago

@saitheexplorer, from what I understand, it's an Elasticsearch configuration issue. There is a logstash ticket from a few years ago describing the problem and provides a possible workaround.

I hope this helps. Let me know if you come up with a way to incorporate the workaround.

shanesveller commented 9 years ago

We encountered this recently, and in our case it wound up being that the current Docker image was now expecting config files included via Docker volume to be located at /opt/logstash/conf.d/* rather than /opt/logstash.conf.

pblittle commented 9 years ago

@shanesveller, that's really interesting. I'll keep that scenario in mind. Thanks.