Logging fatal errors and timeout

From: Date: Mon, 08 Aug 2005 17:05:47 +0000
Subject: Logging fatal errors and timeout
Groups: php.general 
Request: Send a blank email to php-general+get-220234@lists.php.net to get a copy of this message
I use the error handler function found at http://www.php.net/manual/en/ref.errorfunc.php . Whenever a fatal error has occurred, it does not log the error. I tried adding E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_WARNING, E_COMPILE_ERROR and so that whenever they occur, it will log itself to a log file. Another question related to that is how do I log a timeout error for the fopen() function? When fopen() times out, it produces a fatal error and fatal error is not being logged.

« previous php.general (#220234) next »