From: Vsevolod Stakhov Date: Tue, 8 Oct 2019 13:57:24 +0000 (+0100) Subject: [Minor] Another log format fix for 2.0 X-Git-Tag: 2.0~36 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1247db5e56a25f4c3157047f13fca4472366df9b;p=rspamd.git [Minor] Another log format fix for 2.0 --- diff --git a/utils/rspamd_stats.pl b/utils/rspamd_stats.pl index 7bb6cbb1c..b0084c93a 100755 --- a/utils/rspamd_stats.pl +++ b/utils/rspamd_stats.pl @@ -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;