users@jersey.java.net

Re: [Jersey] log HTTP exchanges

From: Ari Heino <ext.ari.heino_at_tieto.com>
Date: Wed, 12 Aug 2009 08:00:10 -0500 (CDT)

Paul Sandoz wrote:
>
> Hi,
>
> I looked briefly into this and it should be rather easy to modify, but
> i have one question.
>
> Do people think it appropriate log the request and response entities?
> There is no way to stream out the entities, so it requires that they
> are buffered as String instances. For large requests/responses this
> may be problematic but perhaps that is the cost of logging? also there
> could be a feature to turn off entity logging.
>
> Paul.
>
>
At least an option to not see entities at all in the log would be good. They
indeed are slowing and cluttering the log most of the times.

Cheers,

.aRi

-- 
View this message in context: http://n2.nabble.com/log-HTTP-exchanges-tp2182111p3430536.html
Sent from the Jersey mailing list archive at Nabble.com.