mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
trim name and add one space after padding
This commit is contained in:
parent
71b19d9eba
commit
a3739bbf27
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +566,7 @@ class Server:
|
|||
self.__logTarget = target
|
||||
return True
|
||||
# set a format which is simpler for console use
|
||||
fmt = "%(name)-24s[%(process)d]: %(levelname)-7s %(message)s"
|
||||
fmt = "%(name)-23.23s [%(process)d]: %(levelname)-7s %(message)s"
|
||||
if systarget == "SYSLOG":
|
||||
facility = logOptions.get('facility', 'DAEMON').upper()
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue