Hi,

attached you find a slightly modified version of the
AccessLogInterceptor that I have recently submitted to
this mailing list. The AccessLogInterceptor is generating
log files in the style of Apache's request logs.

The difference to the first version is that the log file
styles "common" and "combined" are now by default using
request.getRemoteAddr() (%a) and not request.getRemoteHost()
(%h). The former turned out to be too slow in practice.

I would appreciate if this could make it into the TomCat
distribution. I would also offer to insert it into the
CVS tree myself, if I could get an account.


Thanks,

Jochen

AccessLogInterceptor.java

Reply via email to