| Posted by "Lawrence Kennon" on 07/13/05 12:55 
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
  Navigation: [Reply to this message] |