Hello Ashish,

You could set the log levels for the particular loggers in your log4j
config file to say ERROR. You could put in a couple of lines like:

log4j.logger.org.apache.commons.httpclient=ERROR
log4j.logger.httpclient.wire=ERROR

and http client will not log anything other than error.

For more information see the HttpClient logging guide [1].

Regards,
Bindul

[1] http://jakarta.apache.org/commons/httpclient/logging.html

On 4/27/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hi
> I am using http client, along with Log4J in on of the projects,
> I am getting lots of debug comments, how to turn them off ot turn them to
> spit error only messages
>
> Ashish
>
>

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

Reply via email to