mirror of https://github.com/fail2ban/fail2ban
trim name and add one space after padding
parent
71b19d9eba
commit
a3739bbf27
|
@ -566,7 +566,7 @@ class Server:
|
||||||
self.__logTarget = target
|
self.__logTarget = target
|
||||||
return True
|
return True
|
||||||
# set a format which is simpler for console use
|
# 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":
|
if systarget == "SYSLOG":
|
||||||
facility = logOptions.get('facility', 'DAEMON').upper()
|
facility = logOptions.get('facility', 'DAEMON').upper()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue