From 9d7e860edb7f77dd29479e6c60453697030224cb Mon Sep 17 00:00:00 2001 From: sebres Date: Thu, 31 Mar 2016 11:43:14 +0200 Subject: [PATCH] possibility to increase verbosity up to heavy debug (partial ported from 716-cs) --- bin/fail2ban-client | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/fail2ban-client b/bin/fail2ban-client index 7f3f5639..bc0c0be8 100755 --- a/bin/fail2ban-client +++ b/bin/fail2ban-client @@ -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