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