Mercurial > repos > other > Puppet
comparison common/logwatch/logfiles_http.conf @ 466:202aeef575a1
Correct HTTP log paths in LogWatch
It wasn't generating logs because we're not using the normal
pattern - our site name comes _after_ the "access" part, not
before
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 25 Feb 2024 10:10:32 +0000 |
parents | f6304a8e2adc |
children | f68d7f7c080b |
comparison
equal
deleted
inserted
replaced
465:f6304a8e2adc | 466:202aeef575a1 |
---|---|
1 ######################################################## | 1 ######################################################## |
2 # Define log file group for httpd | 2 # Define log file group for httpd |
3 ######################################################## | 3 ######################################################## |
4 | 4 |
5 # What actual file? Defaults to LogPath if not absolute path.... | 5 # What actual file? Defaults to LogPath if not absolute path.... |
6 LogFile = httpd/*access_log | 6 LogFile = apache/access_*.log |
7 LogFile = apache/*access.log.1.gz | |
8 LogFile = apache/*access.log.1 | |
9 LogFile = apache/*access.log | |
10 LogFile = apache2/*access.log.1 | |
11 LogFile = apache2/*access.log | |
12 LogFile = apache2/*access_log | |
13 LogFile = apache-ssl/*access.log.1 | |
14 LogFile = apache-ssl/*access.log | |
15 LogFile = nginx/*access.log | |
16 LogFile = nginx/*access.log.1 | |
17 | 7 |
18 | 8 |
19 # If the archives are searched, here is one or more line | 9 # If the archives are searched, here is one or more line |
20 # (optionally containing wildcards) that tell where they are... | 10 # (optionally containing wildcards) that tell where they are... |
21 #If you use a "-" in naming add that as well -mgt | 11 #If you use a "-" in naming add that as well -mgt |
22 Archive = archiv/httpd/*access_log.* | 12 Archive = apache/access_*.log.*.gz |
23 Archive = httpd/*access_log.* | |
24 Archive = apache/*access.log.*.gz | |
25 Archive = apache2/*access.log.*.gz | |
26 Archive = apache2/*access_log.*.gz | |
27 Archive = apache-ssl/*access.log.*.gz | |
28 Archive = archiv/httpd/*access_log-* | |
29 Archive = httpd/*access_log-* | |
30 Archive = apache/*access.log-*.gz | |
31 Archive = apache2/*access.log-*.gz | |
32 Archive = apache2/*access_log-*.gz | |
33 Archive = apache-ssl/*access.log-*.gz | |
34 Archive = nginx/*access.log.*.gz | |
35 | 13 |
36 # Expand the repeats (actually just removes them now) | 14 # Expand the repeats (actually just removes them now) |
37 *ExpandRepeats | 15 *ExpandRepeats |
38 | 16 |
39 | 17 |