- Easy to use
- Simple installation process
- Has the ability to log fatal errors (E_ERROR) and higher (E_WARNING, E_NOTICE, etc)
- Errors can be logged to a MySQL database or a file
- Simple admin area for viewing logged errors
Logs the following informationn on each error
- The time that the error occurred
- The error level
- The actual error message
- The file that caused the error
- The line that caused it
This item enables you to log any php errors that occur in your script for later review.
There are a number of reasons why this is a good thing to do, the main one being that any
potential attackers can get valuable information about your system from the errors generated
by php. By logging the errors and preventing them being displayed you can stop them getting
hold of this information and also keep a record of the fact that something has gone wrong.
One other major reason is to help with debugging, if you have a log of errors that have come
up when people have been using your site, you can prevent them from causing problems. Not
everybody would report a php error being displayed as a bug, and if they did they may not
include the full error message.
A demo of the admin area can be found at http://jacekk.co.uk/code/error_log/ the password for this is “demo”. When you log in a selection of random errors will be generated for your session.
If there are any problems with this item, the best place to ask is in the forum as I check that at least once a day.