Thanks. That worked. But I want more control at run time for logging on
wire by httpclient.
So what are advanced logging implementation, that can be used.

Thanks,
Pankaj Arora 

-----Original Message-----
From: Roland Weber [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 28, 2007 2:02 PM
To: HttpComponents Project
Subject: Re: HttpClient logging

Hello Pankaj,

try setting the system properties _before_ you call into any HttpCLient
classes, that is before even creating the HttpClient object. Once a
logger is created, SimpleLog will not pick up changes to the system
properties. The settings are cached and will remain constant for the
lifetime of the JVM. If you need to adjust log levels at runtime, you'll
have to use a more advanced logging implementation.

hope that helps,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to