view common/logwatch/logfiles_php.conf @ 442:2879e2d4148e

Configure test machine
author IBBoard <dev@ibboard.co.uk>
date Mon, 03 Apr 2023 19:41:02 +0100
parents d3b10f2a5f60
children
line wrap: on
line source

########################################################
# Logfile definition for PHP which points to Apache logs
########################################################

# What actual file?  Defaults to LogPath if not absolute path....
LogFile = apache/error_*.log
LogFile = apache/error_*.log.1
LogFile = php-fpm/error.log*
LogFile = php-fpm/*-error.log*


# If the archives are searched, here is one or more line
# (optionally containing wildcards) that tell where they are...
Archive = apache/error_*.log.*.gz

# Expand the repeats (actually just removes them now)
*ExpandRepeats


# Keep only the lines in the proper date range...
# Set a specific date format, but ignore the timezone because ApplyStdDate doesn't like %Z
*ApplyStdDate = "\[%d-%b-%Y %H:%M:%S ...\]"

# vi: shiftwidth=3 tabstop=3 et