ruby - Logstash 5.5.0 doesn't start invalid level[info] -


logstash version 5.5.0 fails start on linux box , here error see. able figure out message doesn't log level. ideas wrong?

an unexpected error occurred! :error => invalid level[info] logger[], :backtrace => [   "thirdparty/logstash/logstash-5.5.0/logstash-core/lib/logstash/logging/logger.rb:71:in `configure_logging'",   "thirdparty/logstash/logstash-5.5.0/logstash-core/lib/logstash/runner.rb:232:in `execute'",   "thirdparty/logstash/logstash-5.5.0/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'",   "thirdparty/logstash/logstash-5.5.0/logstash-core/lib/logstash/runner.rb:209:in `run'",   "thirdparty/logstash/logstash-5.5.0/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'",   "thirdparty/logstash/logstash-5.5.0/lib/bootstrap/environment.rb:71:in `(root)'" ] 

here how start it:

${logstash_home}/bin/logstash -w 2 --log.level debug -f ${config_file} --debug 

i passing custom log4j.properties file via java_opts

java_opts="${java_opts} -dlog4j.configurationfile=${log_file}"  export java_opts 

and here contents of log4j config:

status = error name = logstashpropertiesconfig  appender.rolling.type = rollingfile appender.rolling.name = plain_rolling appender.rolling.filename = ${sys:ls.logs}/logstash-${sys:ls.log.format}.log appender.rolling.filepattern = ${sys:ls.logs}/logstash-${sys:ls.log.format}-%d{yyyy-mm-dd}.log appender.rolling.policies.type = policies appender.rolling.policies.time.type = timebasedtriggeringpolicy appender.rolling.policies.time.interval = 1 appender.rolling.policies.time.modulate = true appender.rolling.layout.type = patternlayout appender.rolling.layout.pattern = [%d{iso8601}][%-5p][%-25c] %-.10000m%n  rootlogger.level = ${sys:ls.log.level} rootlogger.appenderref.rolling.ref = plain_rolling  # slowlog appender.rolling_slowlog.type = rollingfile appender.rolling_slowlog.name = plain_rolling_slowlog appender.rolling_slowlog.filename = ${sys:ls.logs}/logstash-slowlog-${sys:ls.log.format}.log appender.rolling_slowlog.filepattern = ${sys:ls.logs}/logstash-slowlog-${sys:ls.log.format}-%d{yyyy-mm-dd}.log appender.rolling_slowlog.policies.type = policies appender.rolling_slowlog.policies.time.type = timebasedtriggeringpolicy appender.rolling_slowlog.policies.time.interval = 1 appender.rolling_slowlog.policies.time.modulate = true appender.rolling_slowlog.layout.type = patternlayout appender.rolling_slowlog.layout.pattern = [%d{iso8601}][%-5p][%-25c] %.10000m%n  logger.slowlog.name = slowlog logger.slowlog.level = trace logger.slowlog.appenderref.rolling_slowlog.ref = plain_rolling_slowlog logger.slowlog.additivity = false 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -