mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
97d7c92659
commit
a83692c228
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ class LogStash::Runner < Clamp::StrictCommand
|
||||||
# override log level that may have been introduced from a custom log4j config file
|
# override log level that may have been introduced from a custom log4j config file
|
||||||
LogStash::Logging::Logger::configure_logging(setting("log.level"))
|
LogStash::Logging::Logger::configure_logging(setting("log.level"))
|
||||||
|
|
||||||
if setting("config.debug") && logger.debug?
|
if setting("config.debug") && !logger.debug?
|
||||||
logger.warn("--config.debug was specified, but log.level was not set to \'debug\'! No config info will be logged.")
|
logger.warn("--config.debug was specified, but log.level was not set to \'debug\'! No config info will be logged.")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue