To monitor my server, I have a script that saves any server or application errors to a mysql database, then either displays the errors on screen or sends me an email. To make it work, I redirect error page 500:100 to this scripts's URL rather than the error page 500:100's default page.

Can anyone familar with servers errors and error logging please tell me what else I should do to ensure all errors are logged.