From 1247db5e56a25f4c3157047f13fca4472366df9b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 8 Oct 2019 14:57:24 +0100 Subject: [PATCH] [Minor] Another log format fix for 2.0 --- utils/rspamd_stats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5