mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
ENH: use format string rather than concatination on log message
This commit is contained in:
parent
94a7609501
commit
916649119e
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ class Filter(JailThread):
|
|||
|
||||
def addBannedIP(self, ip):
|
||||
if self.inIgnoreIPList(ip):
|
||||
logSys.warning('Requested to manually ban an ignored IP ' + ip + '. User knows best. Proceeding to ban it.')
|
||||
logSys.warning('Requested to manually ban an ignored IP %s. User knows best. Proceeding to ban it.' % ip)
|
||||
|
||||
unixTime = MyTime.time()
|
||||
for i in xrange(self.failManager.getMaxRetry()):
|
||||
|
|
|
|||
Loading…
Reference in a new issue