I need some help setting up Error Handling & Logging correctly.
We have a logs directory 'one level above' our forum root directory:
drwxr-xr-x 2 root root 4096 2012-11-19 13:39 logs
An error.log and access.log file was being written to, but were getting large. The access.log was over 2 GB, and the error.log was over 49 MB.
I gzipped both (with the forum taken off-line), and now, neither have been recreated. Therefore, I created both using touch, but they are not being written to.
Additionally, we didn't have the log file paths set in Error Handling & Logging, so I set them as follows:
/srv/www/kubuntuforums.net/logs/dberrors.log
/srv/www/kubuntuforums.net/logs/admincperrors.log
/srv/www/kubuntuforums.net/logs/phperrors.log
I created the three files with touch.
These files are also not being written to.
What am I doing wrong?
We have a logs directory 'one level above' our forum root directory:
drwxr-xr-x 2 root root 4096 2012-11-19 13:39 logs
An error.log and access.log file was being written to, but were getting large. The access.log was over 2 GB, and the error.log was over 49 MB.
I gzipped both (with the forum taken off-line), and now, neither have been recreated. Therefore, I created both using touch, but they are not being written to.
Additionally, we didn't have the log file paths set in Error Handling & Logging, so I set them as follows:
/srv/www/kubuntuforums.net/logs/dberrors.log
/srv/www/kubuntuforums.net/logs/admincperrors.log
/srv/www/kubuntuforums.net/logs/phperrors.log
I created the three files with touch.
These files are also not being written to.
What am I doing wrong?
Comment