php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #17870 format of log to file should be change
Submitted: 2002-06-20 04:54 UTC Modified: 2002-06-20 07:00 UTC
From: xuefer at 21cn dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.2.1 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xuefer at 21cn dot com
New email:
PHP Version: OS:

 

 [2002-06-20 04:54 UTC] xuefer at 21cn dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-20 04:55 UTC] xuefer at 21cn dot com
solution is: log more useful information for "log to file"
 [2002-06-20 05:50 UTC] yohgaki@php.net
You can define your own error handler to log whatever format you need.

 [2002-06-20 07:00 UTC] xuefer at 21cn dot com
the Fatal error will never be handled by user handler
do it ?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 12 07:01:30 2024 UTC