how to log an entire HTTP message - Websphere

This is a discussion on how to log an entire HTTP message - Websphere ; For debugging purpose, I need to look at the whole HTTP request being sent from the client, not only the URL and headers. How can I do it with WebSphere or HTTP server? Is it possible? Thanks for your answers....

+ Reply to Thread
Results 1 to 3 of 3

Thread: how to log an entire HTTP message

  1. how to log an entire HTTP message

    For debugging purpose, I need to look at the whole HTTP request being
    sent from the client, not only the URL and headers. How can I do it with
    WebSphere or HTTP server? Is it possible?

    Thanks for your answers.

  2. Re: how to log an entire HTTP message

    You might be able to write a servlet filter to log the request object.
    Possibly trace on the web container might also do some of it for you, but
    along with a whole load of other detritis.
    I'd write a simple servlet filter and put it in front of the action class
    for the web module.

    If that's not simple for you, or you'd like other suggestions, please feel
    free to contact me.

    Peter Bennett
    Distributed Systems Professional Services Ltd.

    "posby" wrote in message
    news:f321u2$2uo62$1@news.boulder.ibm.com...
    > For debugging purpose, I need to look at the whole HTTP request being
    > sent from the client, not only the URL and headers. How can I do it with
    > WebSphere or HTTP server? Is it possible?
    >
    > Thanks for your answers.




  3. Re: how to log an entire HTTP message

    Server-side
    * Use a network sniffer, like Wireshark (http://www.wireshark.org).
    * If you're using IBM HTTP Server, use mod_net_trace
    (http://publib.boulder.ibm.com/httpse...net_trace.html)
    * Write a Servlet filter to catch the request and log the data you want.

    Client-side
    * Use a network sniffer.
    * Use a logging proxy, like Fiddler (http://www.fiddlertool.com/fiddler)
    * Use a browser plug-in, like IEWatch (http://www.iewatch.com)


+ Reply to Thread