users@jersey.java.net

log HTTP exchanges

From: Vasiliy Baranov <Vasiliy.Baranov_at_Sun.COM>
Date: Mon, 19 Jan 2009 19:53:55 +0300

Hi,

With Jersey, is it possible to fully log (e.g. via java.util.logging)
all HTTP requests and responses taking place? Like what you get with
commons-httpclient when you say:

    
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog \
    -Dorg.apache.commons.logging.simplelog.showdatetime=true \
    -Dorg.apache.commons.logging.simplelog.log.httpclient.wire=debug

I can see sun.net.www.protocol.http.HttpURLConnection logging message
headers, but that is not enough in my case.

Thanks,
Vasiliy