httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Gingras <francois.ging...@gmail.com>
Subject Re: [users@httpd] ErrorLog timestamp format
Date Mon, 09 Mar 2009 22:20:24 GMT
Jorge,

No, the log format cannot be changed for the ErrorLog directive.

Jorge Medina wrote:
> 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


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message