tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Objections about formatting options to time stamp in access log
Date Mon, 08 Nov 2010 15:16:32 GMT
A typical annoyance when combining Apache web server and Tomcat is the 
difference in access log timestamp. Apache logs the beginning of the 
request, Tomcat logs the end of the request.

I added a feature to Apache trunk (will become 2.4) to make it 
configurable for Apache, which time stamp to choose ([1]). Furthermore 
the Apache web server allows to choose the format, in which the time 
stamp is being logged as something different than just "Common Log 
Format". This is all configured by an appropriate "format" in %{format}t.

Any a priori objections about porting the same functionality to Tomcat 
trunk?

Of course due to latency between Apache and Tomcat and due to different 
timeouts, even when using the same time stamp (begin or end of request) 
in both products, the timestamps will not always match exactly. But at 
the moment matching the entries is much harder, than it could be.

Regards,

Rainer

[1] http://httpd.apache.org/docs/trunk/mod/mod_log_config.html#formats

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message