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 :).
 
Mark

        -----Original Message----- 
        From: Michael Becke [mailto:[EMAIL PROTECTED] 
        Sent: Tue 7/1/2003 3:58 PM 
        To: Commons HttpClient Project 
        Cc: 
        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.
        
        Mike
        
        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", 
"debug");
        >       
System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient",
 "trace");
        >
        > But I don't get any output when I run my code.
        > 
        > thanks,
        > 
        > Mark
        >
        > 
        >
        
        
        ---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]
        
        

Reply via email to