From 3d3f5179fa3cfdb7f949c87ffc691c7e4e32bc91 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Fri, 25 Nov 2016 02:23:19 +0100 Subject: [PATCH] [apache_logparser] remove unused 'type' setting the manual common/combined type detection was replaced with an automatism earlier --- plugins/apache/apache_vhosts/apache_logparser | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/apache/apache_vhosts/apache_logparser b/plugins/apache/apache_vhosts/apache_logparser index 1f3ddcb7..1f427b5e 100644 --- a/plugins/apache/apache_vhosts/apache_logparser +++ b/plugins/apache/apache_vhosts/apache_logparser @@ -27,9 +27,6 @@ $statefile file to save last log position for tail $nsec tail and write to shared mem every n seconds $debug dump tallied data every n seconds, print every log line parsed $scan_interval rescan for new log files every n minutes -$type log file type: - common: CLF + vhost + time + (other fields) - combined: combined + time + (other fields) =cut # config @@ -38,7 +35,6 @@ my $files = "*access_log"; my $site = "(.*)-access_log"; my $statefile = "/tmp/logstate"; `touch $statefile` unless (-f $statefile); -local $type="combined"; local $nsec=7; local $debug=0;