PHP error_log format doesn't include timestamp?

From: Date: Wed, 13 Jul 2005 09:55:08 +0000
Subject: PHP error_log format doesn't include timestamp?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-218611@lists.php.net to get a copy of this message
In looking at my Apache (2.0.52) error log normal errors have a timestamp (see below): [Wed Jul 13 05:36:07 2005] [error] [client 192.168.123.1] File does not exist: /var/www/thenewagesite/test.html However PHP generated errors to the Apache error log do not give a timestamp: [client 217.212.224.143] PHP Notice: Undefined property: majorver in /var/www/thenewagesite/jjdewey/immortal/chapter1.php on line 15 Is this something I can configure in the php.ini file (to get timestamps on PHP errors in the error log)? Note these are _NOT_ errors that I generate with my code, but errors that PHP is itself sending to the Apache error_log (due to errors _in_ my code :). This may be in the documentation, but I haven't been able to find it yet. Thanks, Lawrence Kennon www.theNewAgeSite.com

« previous php.general (#218611) next »