From: Vsevolod Stakhov Date: Tue, 11 Apr 2017 16:05:44 +0000 (+0100) Subject: [Minor] Store full timestamp when checking logs X-Git-Tag: 1.5.6~28 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=defc166a58568c5ec33bb68de22255bd09ea3c12;p=rspamd.git [Minor] Store full timestamp when checking logs --- 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 );