hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Logging of httpclient.wire.content depending on the target of the connection
Date Thu, 13 Jun 2013 12:51:43 GMT
On Thu, 2013-06-13 at 07:26 -0400, JOSE L MARTINEZ-AVIAL wrote:
> Hi,
>    I have an web application that uses Axis2 1.6.2 to connect to diferent
> webservices. The underlying protocol is HTTP, so it uses httpcore-4.0 to
> connect to the server. My problem is that for auditory reasons I need to
> log the requests and responses received from a particular webservice, but
> the other webservices should not be logged. I know I can setup
> httpclient.wire.content to DEBUG in order to log the content of the
> request/responses, but how I can do that dynamically depending on the
> server the request is going to?
>   Thanks
> JL

You'll have to develop a custom connection implementation and / or a
custom connection manager.


To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message