Logging all request & response data with Tomcat

Discussions

Web tier: servlets, JSP, Web frameworks: Logging all request & response data with Tomcat

  1. Hi ,

    I'm trying to have tomcat print out everything it sends and receives . Is there a standard built in way of dooing this or do I have to write a servlet myself and redirect everything through it ?


    Thanks in anticipation ,
    Cosmin
  2. Look at this article:

    http://www.onjava.com/pub/a/onjava/2004/03/03/filters.html
  3. Looking into logs folder under tomcat home directory.
    All the requests are logged daywise.
  4. thanks[ Go to top ]

    thanks guys , i'll look into your sugestions . For the time beeing i've been dooing some header spying with netscapes livehttpheaders .