hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilcox, Mark" <Mark.Wil...@webct.com>
Subject RE: logging question
Date Tue, 01 Jul 2003 21:33:42 GMT
Well, that helped me make a small step (I'm not using Log4J, but another Jar I'm using has
calls embedded in it). But all I got was a 1 line info message and not the wire trace, at
least when I used Log4J's BasicConfigurator.
I'm assuming to get it to log everything on a Debug level, I'll actually have to configure
a Log4J properties and configure that to spit out logging on a Debug level? Or is there a
simpler way? I couldn't find any docs on this so if there's a URL I should read, point me
at it :).

	-----Original Message----- 
	From: Michael Becke [mailto:becke@u.washington.edu] 
	Sent: Tue 7/1/2003 3:58 PM 
	To: Commons HttpClient Project 
	Subject: Re: logging question

	That's about all you need unless Log4j is on your classpath.  In that
	case you have to use the Log4j configuration.
	Wilcox, Mark wrote:
	> Hi,
	> Do you have to do anything special to get SimpleLog to output to the console?
	> I've done the following:
	>       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",
	>       System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient",
	> But I don't get any output when I run my code.
	> thanks,
	> Mark
	To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
	For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message