summaryrefslogtreecommitdiff
path: root/fail2ban/helpers.py
diff options
context:
space:
mode:
authorsebres <serg.brester@sebres.de>2020-05-26 13:14:37 +0200
committersebres <serg.brester@sebres.de>2020-05-26 13:14:37 +0200
commit9b6da03c90139db1a8820a24736462c5c3477ba8 (patch)
tree81490ca4f28be6fb980a07ad7b0a1cf26e0a8a31 /fail2ban/helpers.py
parentb8e2b772656e488be3abebcfff622c797e1f664b (diff)
downloadfail2ban-9b6da03c90139db1a8820a24736462c5c3477ba8.tar.gz
amend to e786dbf132689133c29671871718a97f93b8912a: removes space between name and [pid] by normal non-verbose logging, padding without truncate now; test coverage for getVerbosityFormat;
closes #2734
Diffstat (limited to 'fail2ban/helpers.py')
-rw-r--r--fail2ban/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fail2ban/helpers.py b/fail2ban/helpers.py
index 6f2bcdd7..3ef7d543 100644
--- a/fail2ban/helpers.py
+++ b/fail2ban/helpers.py
@@ -302,7 +302,7 @@ def getVerbosityFormat(verbosity, fmt=' %(message)s', addtime=True, padding=True
if addtime:
fmt = ' %(asctime)-15s' + fmt
else: # default (not verbose):
- fmt = "%(name)-23.23s [%(process)d]: %(levelname)-7s" + fmt
+ fmt = "%(name)-24s[%(process)d]: %(levelname)-7s" + fmt
if addtime:
fmt = "%(asctime)s " + fmt
# remove padding if not needed: