# Logstash log4j warning

**URL:** <https://discuss.elastic.co/t/logstash-log4j-warning/90547>\
**Category:** Logstash\
**Created:** [June 22, 2017, 9:49pm UTC](https://discuss.elastic.co/t/logstash-log4j-warning/90547 "2017-06-22T21:49:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pashmina](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@pashmina](https://discuss.elastic.co/u/pashmina)\
**Post date:** [June 22, 2017, 9:49pm UTC](https://discuss.elastic.co/t/logstash-log4j-warning/90547/1 "2017-06-22T21:49:57Z")

</div>

I am using  
java version "1.8.0\_74"  
logstash 5.4.2

In logstash-stderr.log , I see the following error.

log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAuthCache).  
log4j:WARN Please initialize the log4j system properly.  
log4j:WARN See [http://logging.apache.org/log4j/1.2/faq.html#noconfig](http://logging.apache.org/log4j/1.2/faq.html#noconfig) for more info.

FYI, logstash-stdout.log is showing correct output from running \*.conf files.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 26, 2017, 5:20am UTC](https://discuss.elastic.co/t/logstash-log4j-warning/90547/2 "2017-06-26T05:20:49Z")

</div>

Don't worry about that warning. I'm a bit surprised that it shows up but it won't prevent Logstash from working.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 24, 2017, 5:20am UTC](https://discuss.elastic.co/t/logstash-log4j-warning/90547/3 "2017-07-24T05:20:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
