Mercurial > repos > other > Puppet
comparison common/logwatch/logfiles_php.conf @ 368:d3b10f2a5f60
Update logwatch for PHP-FPM logging
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 02 Feb 2021 20:52:38 +0000 |
parents | bafd91f195de |
children |
comparison
equal
deleted
inserted
replaced
367:bcb54d9853e1 | 368:d3b10f2a5f60 |
---|---|
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 = apache/error_*.log | 6 LogFile = apache/error_*.log |
7 LogFile = apache/error_*.log.1 | 7 LogFile = apache/error_*.log.1 |
8 LogFile = php-fpm/error.log* | |
9 LogFile = php-fpm/*-error.log* | |
8 | 10 |
9 | 11 |
10 # If the archives are searched, here is one or more line | 12 # If the archives are searched, here is one or more line |
11 # (optionally containing wildcards) that tell where they are... | 13 # (optionally containing wildcards) that tell where they are... |
12 Archive = apache/error_*.log.*.gz | 14 Archive = apache/error_*.log.*.gz |
14 # Expand the repeats (actually just removes them now) | 16 # Expand the repeats (actually just removes them now) |
15 *ExpandRepeats | 17 *ExpandRepeats |
16 | 18 |
17 | 19 |
18 # Keep only the lines in the proper date range... | 20 # Keep only the lines in the proper date range... |
19 #*ApplyHttpErrorDate | 21 # Set a specific date format, but ignore the timezone because ApplyStdDate doesn't like %Z |
20 *ApplyStdDate = "\[%a %b %d %H:%M:%S.\d{6} %Y\]" | 22 *ApplyStdDate = "\[%d-%b-%Y %H:%M:%S ...\]" |
21 | 23 |
22 # vi: shiftwidth=3 tabstop=3 et | 24 # vi: shiftwidth=3 tabstop=3 et |