log4j.logger.httpclient.wire=DEBUG, SOME_APPENDER_HERE
Where SOME_APPENDER_HERE is the name of an appender configured in Log4j.
Mike
Ramanan nr wrote:
Hi Mike,
I am using Log4j. Here is what I do in my code to set the wire log to debug mode :
// SET SYS PROP FOR HTTPCLIENT DEBUG
System.setProperty("org.apache.commons.logging.Log",
"org.apache.commons.logging.impl.SimpleLog");
System.setProperty("org.apache.commons.logging.simplelog.showdatetime",
"true");
System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire",
"debug");
System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient",
"debug");
Is there any other config that I am missing?
- NRR
--- Michael Becke <[EMAIL PROTECTED]> wrote:
org.apache.commons.logging.simplelog.log.httpclient.wireOn Thursday, July 10, 2003, at 04:01 PM, Ramanan nr wrote:
btw, though I set the wire log to the debug mode,
I
don't see any info. is there any other setting
other
than the
=debug
My guess is that you are using Log4j (have it on
your classpath). You will need to configure Log4j to output the wire log
by setting the logger (httpclient.wire) to DEBUG. Please post the
wire log one you have it and we should have a better idea what's
going wrong.
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
--------------------------------------------------------------------- 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]