aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rspamd_stats.pl
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2017-08-08 10:41:42 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2017-08-08 10:41:42 +0300
commit1e95d222b35ab0006171b490d99305943784d855 (patch)
tree67fac9e13a108b5fb8f6ed1671e5b89da5c9d219 /utils/rspamd_stats.pl
parent568d293c2461c9c17df88ff31396e493fedc47e9 (diff)
downloadrspamd-1e95d222b35ab0006171b490d99305943784d855.tar.gz
rspamd-1e95d222b35ab0006171b490d99305943784d855.zip
Revert "[Minor] Store full timestamp when checking logs"
This reverts commit defc166a58568c5ec33bb68de22255bd09ea3c12.
Diffstat (limited to 'utils/rspamd_stats.pl')
-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 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 );