From: <los...@us...> - 2008-10-10 16:26:28
|
Revision: 714 http://fail2ban.svn.sourceforge.net/fail2ban/?rev=714&view=rev Author: lostcontrol Date: 2008-10-10 16:26:18 +0000 (Fri, 10 Oct 2008) Log Message: ----------- - Added new time format. No idea from where it comes... Modified Paths: -------------- branches/FAIL2BAN-0_8/server/datedetector.py Modified: branches/FAIL2BAN-0_8/server/datedetector.py =================================================================== --- branches/FAIL2BAN-0_8/server/datedetector.py 2008-10-10 16:00:10 UTC (rev 713) +++ branches/FAIL2BAN-0_8/server/datedetector.py 2008-10-10 16:26:18 UTC (rev 714) @@ -113,6 +113,12 @@ template.setRegex("^\d{2}:\d{2}:\d{2}") template.setPattern("%H:%M:%S") self.__templates.append(template) + # <09/16/08@05:03:30> + template = DateStrptime() + template.setName("<Month/Day/Year@Hour:Minute:Second>") + template.setRegex("^<\d{2}/\d{2}/\d{2}@\d{2}:\d{2}:\d{2}>") + template.setPattern("<%m/%d/%y@%H:%M:%S>") + self.__templates.append(template) finally: self.__lock.release() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |