Hi John,
HttpClient uses commons-logging which defaults to Log4j when it is present on the classpath. You can enable wire logging by setting the logger "httpclient.wire" to DEBUG. This can be done using any of Log4j's standard configuration methods.
Mike
On May 24, 2004, at 10:07 AM, John Melody wrote:
Is there a way to configure the wire log to go to a Log4J log configured
for the application.
I have configured Log4J as my application logger and I would like to send
the
Httpclient wire log to the same file. Currently it is set up as the
following -
System.setProperty("org.apache.commons.logging.simplelog.log.httpclient .wire
", "debug");
which sends the wire log to the console.
Is it possible to configure this so that all the logging output including
the
wire log would go to my log4J application log?
thanks for any help, regards, John.
John Melody SyberNet Ltd. Galway Business Park, Dangan, Galway. Tel. No. +353 91 514400 Fax. NO. +353 91 514409 Mobile - 087-2345847
---------------------------------------------------------------------
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]