BF: full traceback on fail2ban-testcases needs to set formatter

This commit is contained in:
Daniel Black 2013-09-29 12:21:01 +10:00
parent 911eb45557
commit 13a12589a3

View file

@ -108,7 +108,7 @@ stdout = logging.StreamHandler(sys.stdout)
fmt = ' %(message)s'
if opts.log_traceback:
if opts.log_traceback or opts.full_traceback:
Formatter = FormatterWithTraceBack
fmt = (opts.full_traceback and ' %(tb)s' or ' %(tbc)s') + fmt
else: