mirror of https://github.com/fail2ban/fail2ban
small amend (info with date pattern before debug message with regex)
parent
6ac181f559
commit
c54d505dea
|
@ -291,9 +291,9 @@ class DateDetector(object):
|
|||
|
||||
DD_patternCache.set(key, template)
|
||||
|
||||
self._appendTemplate(template)
|
||||
logSys.info(" date pattern `%s`: `%s`",
|
||||
getattr(template, 'pattern', ''), template.name)
|
||||
self._appendTemplate(template)
|
||||
|
||||
def addDefaultTemplate(self, filterTemplate=None, preMatch=None, allDefaults=True):
|
||||
"""Add Fail2Ban's default set of date templates.
|
||||
|
|
Loading…
Reference in New Issue