Apache only logs PHP errors if LogLevel is set to debug
- by Sudowned
I'm developing a CodeIgniter application and for reasons that I do not fully understand errors have stopped being logged in the file specified in the Apache site conf.
The page I'm testing is definitely generating a 500 error, but that is not reflected in the logs unless I set LogLevel debug. Setting LogLevel to error or warn results in no errors being logged.
I don't think this is a CI issue because I've been developing this site for close to a week now and errors have been logged as expected until I picked the project up again this morning.
Though for what it's worth, I've got:
error_reporting(E_ALL);
set in my index.php.