logstash - StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console on windows -
i trying run logstash on windows. 
using following command -
logstash.bat -f d:\confignfig.txt --path.settings d:\software\elasticsearch\logstash-5.5.0\config\ -l logstashlogs but error -
error statuslogger no log4j2 configuration file found. using default configuration: logging errors console. warning: not find logstash.yml typically located in $ls_home/config or /etc/logstash. can specify path using --path.settings. continuing using defaults unexpected error occurred! :error => bad uri(is not uri?): file:///d:\software\elasticsearch\logstash-5.5.0\config" - logstashlogs"/log4j2.properties, :backtrace => ["d:/software/elasticsearch/logstash-5.5.0/vendor/jruby/lib/ruby/1.9/uri/common.rb:176:in split", "d:/software/elasticsearch/logstash-5.5.0/vendor/jruby/lib/ruby/1.9/uri/common.rb:210:in parse", "d:/software/elasticsearch/logstash-5.5.0/vendor/jruby/lib/ruby/1.9/uri/common.rb:747:in parse", "d:/software/elasticsearch/logstash-5.5.0/vendor/jruby/lib/ruby/1.9/uri/common.rb:994:in uri", "d:/software/elasticsearch/logstash-5.5.0/logstash-core/lib/logstash/logging/logger.rb:77:in initialize", "org/jruby/ext/thread/mutex.java:149:in synchronize'", "d:/software/elasticsearch/logstash-5.5.0/logstash-core/lib/logstash/logging/logger.rb:75:in initialize", "d:/software/elasticsearch/logstash-5.5.0/logstash-core/lib/logstash/runner.rb:229:in execute", "d:/software/elasticsearch/logstash-5.5.0/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run", "d:/software/elasticsearch/logstash-5.5.0/logstash-core/lib/logstash/runner.rb:209:in run", "d:/software/elasticsearch/logstash-5.5.0/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run", "d:\software\elasticsearch\logstash-5.5.0\lib\bootstrap\environment.rb:71:in (root)"]
any idea going here? suggestion appreciated.
this seems known issue , expected fixed in next logstash release , 5.6.0.
pls refer: https://discuss.elastic.co/t/logstash-5-5-0-error-statuslogger-no-log4j2-configuration-file-found/92921 https://github.com/elastic/logstash/issues/7526
Comments
Post a Comment