commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: HttpClient - Turn "wire" off not working
Date Tue, 30 Mar 2004 17:23:04 GMT
Hello Nathan,

The instructions on the HttpClient site are for configuring using 
commons-logging.  When using Log4j things are a little different.  Try 
the following:

  <category name="httpclient.wire">
    <priority value="INFO"/>
  </category>

Mike

nathan phillips wrote:

> Hello,
> 
> I'm using the latest stable release of HttpClient and for some reason it 
> appears that the "wire" debug is turned on for me by default or 
> something else is doing it.  I'm unable to shut it up.  I've added the 
> following to my log4j.xml file to no avail:
> 
>  <category name="org.apache.commons.logging.simplelog.defaultlog">
>    <priority value="INFO"/>
>  </category>
>  <category name="org.apache.commons.logging.simplelog.log.httpclient.wire">
>    <priority value="INFO"/>
>  </category>
> 
> Within my code I've tried adding per the web site documentation:
> 
> System.setProperty("org.apache.commons.logging.Log", 
> "org.apache.commons.logging.impl.SimpleLog");
> System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", 
> "info");
> System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient",

> "info");
> 
> Nothing seems to work.  If anyone has any ideas why not, I'd greatly 
> appreciate them.  Thanks for your help and thanks for HttpClient.
> 
> _________________________________________________________________
> All the action. All the drama. Get NCAA hoops coverage at MSN Sports by 
> ESPN. http://msn.espn.go.com/index.html?partnersite=espn
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message