Logstash LOG_OPTION

Hello Logstash experts,

We are using Logstash 2.3 .1 and find in the documentation that there are only two levels of log (from logstash itself): --verbose and --debug.

Is there any other level we can set which is undocumented perhaps? I find both verbosity quite high and would like something equivalent of "WARN", "INFO", "DEBUG", "TRACE" like Elasticsearch, and I would run my production system at "WARN".

Thanks
-Sundar

The default level should correspond to WARN, --verbose is INFO, and --debug is DEBUG.

1 Like

Sorry for the late ack, thanks that helped.

Please update the documentation if you can for a future release that default is equivalent to WARN in Elasticsearch. The wording is a bit confusing right now (--verbose means less-verbose...)

-Sundar

The documentation has already been improved for Logstash 5.0 (see https://github.com/elastic/logstash/blob/master/docs/static/command-line-flags.asciidoc) but the default level isn't specified. I filed https://github.com/elastic/logstash/issues/5783 for documenting it. I also just saw https://github.com/elastic/logstash/issues/5735 which is for changing the default level to INFO for 5.0.