commit 1247db5: [Minor] Another log format fix for 2.0

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Oct 8 14:00:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-10-08 14:57:24 +0100
URL: https://github.com/rspamd/rspamd/commit/1247db5e56a25f4c3157047f13fca4472366df9b (HEAD -> master)

[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;


More information about the Commits mailing list