Révision 3d3f5179
[apache_logparser] remove unused 'type' setting
the manual common/combined type detection was replaced with an
automatism earlier
| plugins/apache/apache_vhosts/apache_logparser | ||
|---|---|---|
| 27 | 27 |
$nsec tail and write to shared mem every n seconds |
| 28 | 28 |
$debug dump tallied data every n seconds, print every log line parsed |
| 29 | 29 |
$scan_interval rescan for new log files every n minutes |
| 30 |
$type log file type: |
|
| 31 |
common: CLF + vhost + time + (other fields) |
|
| 32 |
combined: combined + time + (other fields) |
|
| 33 | 30 |
=cut |
| 34 | 31 |
|
| 35 | 32 |
# config |
| ... | ... | |
| 38 | 35 |
my $site = "(.*)-access_log"; |
| 39 | 36 |
my $statefile = "/tmp/logstate"; |
| 40 | 37 |
`touch $statefile` unless (-f $statefile); |
| 41 |
local $type="combined"; |
|
| 42 | 38 |
local $nsec=7; |
| 43 | 39 |
local $debug=0; |
| 44 | 40 |
|
Formats disponibles : Unified diff