summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-11 17:05:44 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-11 17:05:44 +0100
commitdefc166a58568c5ec33bb68de22255bd09ea3c12 (patch)
treec14c05947c900db7a4e56c57340d1596e6ca598f /utils
parent8127acfbbc67484f057a319dc6afd52d8184b850 (diff)
downloadrspamd-defc166a58568c5ec33bb68de22255bd09ea3c12.tar.gz
rspamd-defc166a58568c5ec33bb68de22255bd09ea3c12.zip
[Minor] Store full timestamp when checking logs
Diffstat (limited to 'utils')
-rw-r--r--utils/rspamd_stats.pl2
1 files changed, 1 insertions, 1 deletions
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 );