fix logstash-core show version method to use proper logger info checks

Fixes #5927
This commit is contained in:
Pere Urbon-Bayes 2016-09-15 15:25:36 +02:00 committed by Suyog Rao
parent c1e3fcc1bf
commit 0daeec7e04

View file

@ -284,7 +284,7 @@ class LogStash::Runner < Clamp::StrictCommand
def show_version
show_version_logstash
if logger.is_info_enabled
if logger.info?
show_version_ruby
show_version_java if LogStash::Environment.jruby?
show_gems if logger.debug?