mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
possibility to increase verbosity up to heavy debug (partial ported from 716-cs)
This commit is contained in:
parent
db2dd070ad
commit
9d7e860edb
1 changed files with 3 additions and 1 deletions
|
|
@ -376,8 +376,10 @@ class Fail2banClient:
|
|||
logSys.setLevel(logging.WARNING)
|
||||
elif verbose == 2:
|
||||
logSys.setLevel(logging.INFO)
|
||||
else:
|
||||
elif verbose == 3:
|
||||
logSys.setLevel(logging.DEBUG)
|
||||
else:
|
||||
logSys.setLevel(logging.HEAVYDEBUG)
|
||||
# Add the default logging handler to dump to stderr
|
||||
logout = logging.StreamHandler(sys.stderr)
|
||||
# set a format which is simpler for console use
|
||||
|
|
|
|||
Loading…
Reference in a new issue