From defc166a58568c5ec33bb68de22255bd09ea3c12 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 11 Apr 2017 17:05:44 +0100 Subject: [PATCH] [Minor] Store full timestamp when checking logs --- 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 9335905a5..b296a1a16 100644 --- a/utils/rspamd_stats.pl +++ b/utils/rspamd_stats.pl @@ -200,7 +200,7 @@ sub ProcessLog { next if !$enabled; if (/^.*rspamd_task_write_log.*$/) { - my $ts = join ' ', ( split /\s+/ )[ 0 .. 1 ]; + my $ts = join ' ', ( split /\s+/ )[ 0 .. 2 ]; next if ( $ts lt $startTime ); next if ( defined $endTime && $ts gt $endTime ); -- 2.39.5