While on the subject of logging with PHP I felt it would be wise to focus discuss some methods of enhancing Apache logging. As anyone who has run an Apache server knows the httpd-access log is pretty much always active which means that if you would like to rotate your log file before it becomes too large for sane processing then you need to stop the http daemon backup and clear the file before relaunching the service. This can be a tedious process and if done manually a royal pain in the backside.