I deleted error.log file from my logs directory.
As root
, I used vi
to create error.log file again. root:root
owns the file, permissions are -rw-r--r--
. Same ownership and permissions as access.log.
Now, no errors are being recorded. Access.log is still being appended to, but not error.log.
Any ideas?
PHP configured to log notices, warnings, errors. I'm using error_log()
to trigger error messages as well, but with no luck. Was working up until I removed the log file.
PHP 5.3.10 Apache 2.2.22 Ubuntu 3.11
apache2ctl graceful