Logstash 5.5.0 ERROR StatusLogger No log4j2 configuration file found

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

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 :

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

the content in path.settings is:

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
1 Like

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

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