Bug #17870 Updated: format of log to file should be change
| From: | yohgaki@php.net | Date: | Thu, 20 Jun 2002 09:50:19 +0000 |
| Subject: | Bug #17870 Updated: format of log to file should be change | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11533@lists.php.net to get a copy of this message | ||
ID: 17870
Updated by: yohgaki@php.net
Reported By: xuefer@21cn.com
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: all
PHP Version: 4.2.1
New Comment:
You can define your own error handler to log whatever format you need.
Previous Comments:
------------------------------------------------------------------------
[2002-06-20 04:55:26] xuefer@21cn.com
solution is: log more useful information for "log to file"
------------------------------------------------------------------------
[2002-06-20 04:54:33] xuefer@21cn.com
when log to file
we got only:
[20-Jun-2002 16:11:42] PHP Fatal error: Call to undefined function:
foo() in /usr/htdocs/abc.php on line 10
time/reason/file/line
but not $PHP_SELF and $_SERVER['QUERY_STRING']
when we have many file included "abc.php"
we don't know which url to reproduce the error
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17870&edit=1