Error Handling
| From: | Adam Voigt | Date: | Tue, 02 Apr 2002 15:29:07 +0000 |
| Subject: | Error Handling | ||
| Groups: | php.dev php.general | ||
| Request: | Send a blank email to php-dev+get-82024@lists.php.net to get a copy of this message | ||
At our web hosting facillity we have several developers (each who recieve a seperate
email when an error occurs on the site there working on) and we would like to have extra
data included in the log files which are written (such as the $_POST, $_GET, $_ENV, and
$_SERVER arrays), this would help us to figure out more precisely why exactly an error
occured for a particular user. I already looked at the error_append entry which allows you
to append code to an error message but it appears that does not carry over to the log file,
is there anyway to make all these arrays dump into the error log after each error entry (I
know there is probably a way to do it with some combination of OR and die(customError()) or
something, but it would be nice if the built in error handling could do it.).
Thanks,
Adam Voigt
adam.voigt@cryptocomm.com