mirror of https://github.com/fail2ban/fail2ban
ENH: more detail in debug messages in date/time detection
parent
0035c99d07
commit
855d802ba8
|
@ -132,7 +132,7 @@ class DateDetector:
|
|||
date = template.getDate(line)
|
||||
if date is None:
|
||||
continue
|
||||
logSys.debug("Got time using template %s" % template.getName())
|
||||
logSys.debug("Got time %i for \"%r\" using template %s" % (date[0], date[1].group(), template.getName()))
|
||||
return date
|
||||
except ValueError:
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue