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' fmt = ' %(message)s'
if opts.log_traceback: if opts.log_traceback or opts.full_traceback:
Formatter = FormatterWithTraceBack Formatter = FormatterWithTraceBack
fmt = (opts.full_traceback and ' %(tb)s' or ' %(tbc)s') + fmt fmt = (opts.full_traceback and ' %(tb)s' or ' %(tbc)s') + fmt
else: else:

Loading…
Cancel
Save