You could use the HTTPUtils.getRequestURL() to do it yourself...  I am not
sure how well that performs/scales.

-----Original Message-----
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 1:55 PM
To: [EMAIL PROTECTED]
Subject: Re: Logging request/response headers




On Tue, 13 Mar 2001, DONNIE HALE wrote:

> Is there any way to enable logging of the request and response headers in
Tomcat 3.2.1? I see that jasper.log contains the requested URL as well as
query parameters, etc. But I could really use a trace of the actual inbound
and outbound HTTP headers.
> 

For Tomcat 3.2.1, you would need to write your own RequestInterceptor to
do this.  In Tomcat 4.0 (which supports the new Filter API of servlet
2.3), there is an example filter called RequestDumperFilter that does
exactly this kind of thing.

> Thanks,
> 
> Donnie
> 

Craig McClanahan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to