mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- fix a bug where verbosity? can be nil by default
This commit is contained in:
parent
b612b1225e
commit
d3e46427d3
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ class LogStash::Agent < Clamp::Command
|
|||
@logger.level = :debug
|
||||
else
|
||||
# Old support for the -v and -vv stuff.
|
||||
if verbosity?.any?
|
||||
if verbosity? && verbosity?.any?
|
||||
# this is an array with length of how many times the flag is given
|
||||
if verbosity?.length == 1
|
||||
@logger.level = :info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue