diff --git a/fail2ban-testcases b/fail2ban-testcases index f4beccb3..f1ae476d 100755 --- a/fail2ban-testcases +++ b/fail2ban-testcases @@ -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: