#26934 [Com]: error logging should log url for each page
| From: | jbyers at gmail dot com | Date: | Thu, 27 Sep 2007 05:30:27 +0000 |
| Subject: | #26934 [Com]: error logging should log url for each page | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117890@lists.php.net to get a copy of this message | ||
ID: 26934
Comment by: jbyers at gmail dot com
Reported By: Xuefer at 21cn dot com
Status: Open
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 5CVS-2004-01-16 (dev)
New Comment:
This would be tremendously useful for debugging issues on high-traffic
sites. Just the timestamp isn't sufficient when there are high numbers
of requests for that second.
Previous Comments:
------------------------------------------------------------------------
[2004-01-16 08:49:09] Xuefer at 21cn dot com
Description:
------------
don't know if this feature is request before(i searched, not found)
there're many times error show in my log files
1.
[16-Jan-2004 21:38:42] PHP Warning: Unknown(): A session is active.
You cannot change the session module's ini settings at this time. in
Unknown on line 0
2.
[16-Jan-2004 21:38:47] PHP Fatal error: Maximum execution time of 30
seconds exceeded in /path/to/file.inc.php on line 113
but i don't know which request url cause the above error
there're too many pages include file /path/to/file.inc.php
what a hard life~
please add init setting:
error_log_request_url (boolean) default: true
[16-Jan-2004 21:38:42] PHP REQUEST: GET www.domain.com/abc.php
[16-Jan-2004 21:38:42] PHP Warning: etc etc..
[16-Jan-2004 21:38:43] PHP Fatal error: etc etc..
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26934&edit=1