Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Logging all data sent to client

Titi Wangsa

2007-07-24

Replies:

create a httpservlet filter?

On 7/24/07, ben short <ben@(protected):
> Hi Tim,
>
> Thanks for that, but it only seems to log out the request/response
> headers. Is It possible to log everything sent to the client?
>
> Ben
>
> On 7/24/07, Tim Funk <funkman@(protected):
> > Look at the RequestDumperValve
> >
> > -Tim
> >
> > ben short wrote:
> > > Hi,
> > >
> > > I using Tomcat 6.0.13 and Spring 2.0.6. I have been involved in
> > > developing a website that products pages in various formats , such as
> > > www, xml, wap and pda. We are having some issues with wap and pda, but
> > > cant ciew the html source thats being shown on the devices.
> > > We can view the html source in firefox using a wap and pda plugin, but
> > > the issues are not always the same or there at all.
> > >
> > > What I would like to do is log all the data sent to the client. I have
> > > been looking at encapsulating the HttpServletRequest and log out the
> > > data to a log file.
> > >
> > > Is there any easier way to do this with tomcat?
> > >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@(protected)
> > To unsubscribe, e-mail: users-unsubscribe@(protected)
> > For additional commands, e-mail: users-help@(protected)
> >
> >
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.