# Logstash 5.5.0 ERROR StatusLogger No log4j2 configuration file found

**URL:** <https://discuss.elastic.co/t/logstash-5-5-0-error-statuslogger-no-log4j2-configuration-file-found/92921>\
**Category:** Logstash\
**Created:** [July 13, 2017, 4:46am UTC](https://discuss.elastic.co/t/logstash-5-5-0-error-statuslogger-no-log4j2-configuration-file-found/92921 "2017-07-13T04:46:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dawncold](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dawncold/32/20026_2.png) [@dawncold](https://discuss.elastic.co/u/dawncold)\
**Post date:** [July 13, 2017, 4:46am UTC](https://discuss.elastic.co/t/logstash-5-5-0-error-statuslogger-no-log4j2-configuration-file-found/92921/1 "2017-07-13T04:46:03Z")

</div>

After I upgraded logstash from 5.4.1 to 5.5.0, I got this error:

```nohighlight
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Sending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties

```

my startup script is :

```nohighlight
/usr/share/logstash/bin/logstash --path.settings /opt/xxx/etc/logstash

```

the content in `path.settings` is:

```nohighlight
drwxr-xr-x 2 root root 4096 Jul 13 11:43 conf.d/
-rw-r--r-- 2 root root 1735 Mar 6 11:00 jvm.options
-rw-r--r-- 2 root root 1333 Mar 6 11:00 log4j2.properties
-rw-r--r-- 2 root root 4511 Jul 13 11:55 logstash.yml

```

---

<div class="post-metadata">

**Author:** ![jakelandis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jakelandis/32/36163_2.png) [@jakelandis](https://discuss.elastic.co/u/jakelandis)\
**Post date:** [July 14, 2017, 5:48pm UTC](https://discuss.elastic.co/t/logstash-5-5-0-error-statuslogger-no-log4j2-configuration-file-found/92921/2 "2017-07-14T17:48:43Z")

</div>

This is a known issue and will be fixed in 5.6.0. For now you can ignore the error:

`ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console`

It is fixed as part of [https://github.com/elastic/logstash/issues/7526](https://github.com/elastic/logstash/issues/7526)

---

<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:** [August 11, 2017, 5:49pm UTC](https://discuss.elastic.co/t/logstash-5-5-0-error-statuslogger-no-log4j2-configuration-file-found/92921/3 "2017-08-11T17:49:16Z")

</div>

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