mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
fix logstash-core show version method to use proper logger info checks
Fixes #5927
This commit is contained in:
parent
c1e3fcc1bf
commit
0daeec7e04
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue