diff --git a/fail2ban/server/datedetector.py b/fail2ban/server/datedetector.py index 056cd2d8..ee4621c9 100644 --- a/fail2ban/server/datedetector.py +++ b/fail2ban/server/datedetector.py @@ -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