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

pull/370/head
Daniel Black 11 years ago
parent 911eb45557
commit 13a12589a3

@ -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:

Loading…
Cancel
Save