From: Alexander Moisseev Date: Tue, 8 Aug 2017 07:41:42 +0000 (+0300) Subject: Revert "[Minor] Store full timestamp when checking logs" X-Git-Tag: 1.7.0~751^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e95d222b35ab0006171b490d99305943784d855;p=thirdparty%2Frspamd.git Revert "[Minor] Store full timestamp when checking logs" This reverts commit defc166a58568c5ec33bb68de22255bd09ea3c12. --- diff --git a/utils/rspamd_stats.pl b/utils/rspamd_stats.pl index 0a2ad46b8c..4501fbc23d 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 );