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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to