From 1e95d222b35ab0006171b490d99305943784d855 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Tue, 8 Aug 2017 10:41:42 +0300 Subject: [PATCH] Revert "[Minor] Store full timestamp when checking logs" This reverts commit defc166a58568c5ec33bb68de22255bd09ea3c12. --- 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 0a2ad46b8..4501fbc23 100644 --- a/utils/rspamd_stats.pl +++ b/utils/rspamd_stats.pl @@ -214,7 +214,7 @@ sub ProcessLog { next if !$enabled; if (/^.*rspamd_task_write_log.*$/) { - my $ts = join ' ', ( split /\s+/ )[ 0 .. 2 ]; + my $ts = join ' ', ( split /\s+/ )[ 0 .. 1 ]; next if ( $ts lt $startTime ); next if ( defined $endTime && $ts gt $endTime ); -- 2.39.5