view common/logwatch/logfiles_php.conf @ 34:29d330d2056a

Make sure that we have mod_version installed so that Apache config fragments that try to support 2.2 and 2.4 work properly
author IBBoard <dev@ibboard.co.uk>
date Sun, 22 Mar 2015 18:26:06 +0000
parents 956e484adc12
children bafd91f195de
line wrap: on
line source

##########################################################################
# Logfile definition for PHP which points to a dedicated PHP log file
# or to the Apache error log
# File is to be placed in
#	/etc/logwatch/conf/logfiles/php.conf
##########################################################################

# What actual file?  Defaults to LogPath if not absolute path....
LogFile = httpd/php_log
LogFile = httpd/error_log

# adjust your php.ini accordingly:
# error_log = /var/log/httpd/php_log
# log_errors = On

# 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 = httpd/php_log.*
Archive = httpd/error_log.*