PHP error_log format doesn't include timestamp?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux