When I run logstash 5.5.1 I am used to getting an error
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Followed by the message
Sending Logstash's logs to /opt/applications/logstash/logs/ls-part1 which is now configured via log4j2.properties
I believe this is fixed in today's 5.6 release. There is another issue I have. If I run /usr/share/logstash/bin/logstash from the directory that I pass it as --path.settings then instead of that first error I get
ERROR Unable to locate appender "${sys:ls.log.format}_rolling" for logger config "root"
2017-10-06 14:12:56,072 main ERROR Null object returned for RollingFile in Appenders.
2017-10-06 14:12:56,073 main ERROR Null object returned for RollingFile in Appenders.
2017-10-06 14:12:56,074 main ERROR Unable to locate appender "${sys:ls.log.format}_rolling" for logger config "root"
Sending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties
Wanted to chime in and state that we're seeing this issue as well. Haven't been able to nail it down to the exact cause, but it's creating quite a messy file system for us.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.