]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Another log format fix for 2.0
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 8 Oct 2019 13:57:24 +0000 (14:57 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 8 Oct 2019 13:57:24 +0000 (14:57 +0100)
utils/rspamd_stats.pl

index 7bb6cbb1ca54d9a5f0d693b0d733c14c7baf0988..b0084c93a7658f7424cdda8e2d7ea9eb87e8b403 100755 (executable)
@@ -484,7 +484,7 @@ sub ProcessLog {
             next if ( defined $endTime && $ts gt $endTime );
 
             if ( $_ !~
-                /\(([^()]+)\): \[(NaN|-?\d+(?:\.\d+)?)\/(-?\d+(?:\.\d+)?)\]\s+\[([^\]]+)\].+? time: (\d+\.\d+)ms real/ )
+                /\(([^()]+)\): \[(NaN|-?\d+(?:\.\d+)?)\/(-?\d+(?:\.\d+)?)\]\s+\[([^\]]+)\].+? time: (\d+\.\d+)ms/ )
             {
                 #print "BAD: $_\n";
                 next;