]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Be more relaxed about usec
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 8 Oct 2019 13:37:51 +0000 (14:37 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 8 Oct 2019 13:37:51 +0000 (14:37 +0100)
utils/rspamd_stats.pl

index 6d304742ad13ba0938a7bb2fb9c8d2b634fb715f..7bb6cbb1ca54d9a5f0d693b0d733c14c7baf0988 100755 (executable)
@@ -713,7 +713,7 @@ sub log_time_format {
 
         # 2017-08-08 00:00:01 #66984(
         # 2017-08-08 00:00:01.001 #66984(
-        if (/^\d{4}-\d\d-\d\d \d\d:\d\d:\d\d(\.\d{3})? #\d+\(/) {
+        if (/^\d{4}-\d\d-\d\d \d\d:\d\d:\d\d(\.\d{3,5})? #\d+\(/) {
             $format = 'rspamd';
             last;
         }