annotate common/logwatch/logfiles_http-error.conf @ 482:d83de9b3a62b default tip

Update hiera.yaml within Puppet config Forgot that we manage it from here. Now has content to match new packages
author IBBoard <dev@ibboard.co.uk>
date Fri, 30 Aug 2024 16:10:36 +0100
parents 202aeef575a1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
332
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 ########################################################
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 # Define log file group for httpd
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 ########################################################
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 # What actual file? Defaults to LogPath if not absolute path....
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 LogFile = apache/error_*.log
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 # If the archives are searched, here is one or more line
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 # (optionally containing wildcards) that tell where they are...
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 #If you use a "-" in naming add that as well -mgt
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 Archive = apache/error_*.log.*.gz
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 # Expand the repeats (actually just removes them now)
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 *ExpandRepeats
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 # Keep only the lines in the proper date range...
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 *ApplyStdDate = "\[%a %b %d %H:%M:%S.\d{6} %Y\]"
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 *RemoveHeaders = "\[\w{3} \w{3} \d{1,2} \d\d:\d\d:\d\d(\.\d*)? \d{4}\] "
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21
7198cc4397d8 Remove custom LogWatch scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 # vi: shiftwidth=3 tabstop=3 et