You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Deepak Mishra <dk...@gmail.com> on 2013/02/05 11:09:27 UTC
How to enable debug level logs in HttpClient
Hi,
We are using HttpClient 4.2.3 to communicate to a third party Internet URL.
To debug any issue that comes during communication, we need to see the
debug logs generated by HttpClient classes (for example HttpAuthenticator
class).
I see that commons-logging-1.1.1.jar is shipped with HttpClient. But do not
know how to configure it for logging at debug level.
Can some one please tell me necessary steps I should do to see the debug
logs of HttpClient.
thank you for help,
deepak
Re: How to enable debug level logs in HttpClient
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2013-02-05 at 15:39 +0530, Deepak Mishra wrote:
> Hi,
> We are using HttpClient 4.2.3 to communicate to a third party Internet URL.
> To debug any issue that comes during communication, we need to see the
> debug logs generated by HttpClient classes (for example HttpAuthenticator
> class).
> I see that commons-logging-1.1.1.jar is shipped with HttpClient. But do not
> know how to configure it for logging at debug level.
> Can some one please tell me necessary steps I should do to see the debug
> logs of HttpClient.
>
> thank you for help,
> deepak
http://hc.apache.org/httpcomponents-client-ga/logging.html
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org