]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Revert "[Minor] Store full timestamp when checking logs"
authorAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 8 Aug 2017 07:41:42 +0000 (10:41 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 8 Aug 2017 07:41:42 +0000 (10:41 +0300)
This reverts commit defc166a58568c5ec33bb68de22255bd09ea3c12.

utils/rspamd_stats.pl

index 0a2ad46b8c8d916d1abe91f6526a1cab772f7b37..4501fbc23d4e2edc431da388294eef1dc0398b37 100644 (file)
@@ -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 );