view common/logwatch/logfiles_http-error.conf @ 472:73e28468a543

Fix HTTP on IPv6 We don't need the remote IP instruction on both redirects, just on the IPv4-to-6 proxy redirect
author IBBoard <dev@ibboard.co.uk>
date Tue, 21 May 2024 20:15:05 +0100
parents 202aeef575a1
children
line wrap: on
line source

########################################################
#   Define log file group for httpd 
########################################################

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


# If the archives are searched, here is one or more line
# (optionally containing wildcards) that tell where they are...
#If you use a "-" in naming add that as well -mgt
Archive = apache/error_*.log.*.gz

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


# Keep only the lines in the proper date range...
*ApplyStdDate = "\[%a %b %d %H:%M:%S.\d{6} %Y\]"
*RemoveHeaders = "\[\w{3} \w{3} \d{1,2} \d\d:\d\d:\d\d(\.\d*)? \d{4}\] "

# vi: shiftwidth=3 tabstop=3 et