httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jorge Medina" <jmed...@e-dialog.com>
Subject [users@httpd] ErrorLog timestamp format
Date Mon, 09 Mar 2009 21:08:07 GMT
I am using Apache 2.2.11
 
Is it possible to modify the ErrorLog timestamp format ?
 
Currently, I get something like this:
  [Mon Mar 09 16:53:18 2009] 
 
I would like to get the timestamp following  ISO8601 format, something
like  yyyy-mm-ddTHH:MM:SS<timezone>
 
  [2009-03-18T16:53:18-0400]
 
I can get the access log in that format specifying the following
directive:
 
  LogFormat  "%{%FT%T%z}t ..."
 
but so far I am unable to change the error log timestamp format.
 
-Jorge

Mime
View raw message