Logstash giving error regarding log4j

Using latest logstash 5.4.0, getting this error on startup

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Sending Logstash's logs to /var/log/ which is now configured via log4j2.properties
log4j:WARN No appenders could be found for logger (org.apache.kafka.clients.producer.ProducerConfig).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Command being used is
/logstash/bin/logstash -l /var/log/ --quiet --path.settings /logstash/config --config.reload.automatic -f /logstash/config.d/

Please advice

I am also getting that error in WIndows.
C:\logparser\logstash-5.3.2\bin>logstash -f first-pipeline.conf --config.reload.automatic
Sending Logstash's logs to C:/logparser/logstash-5.3.2/logs which is now configured via log4j2.properties
[2017-05-06T23:19:41,248][INFO ][logstash.pipeline ] Starting pipeline {"id"=>"main", "pipeline.workers"=>4, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>500}
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[2017-05-06T23:19:41,989][INFO ][logstash.inputs.beats ] Beats inputs: Starting input listener {:address=>"0.0.0.0:5043"}
[2017-05-06T23:19:42,066][INFO ][logstash.pipeline ] Pipeline main started
[2017-05-06T23:19:42,234][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}

Trying top follow the tutorial.

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