Re: can't seem to supress logging

2003-12-03 Thread Michael Becke
Hi Chris, There are two possibilities that I can think of: 1) The Log4j jar is on your classpath. When Log4j is detected it is used as the default logger and it controls the default log levels. 2) org.apache.commons.logging.simplelog.defaultlog is not being set soon enough. This property

Re: can't seem to supress logging

2003-12-03 Thread christopher justin
really strange.. the only jars related to HttpClient that are in my path are commons-httpclient-2.0-rc1.jar and commons-logging.jar . And I have now I now made sure I set System.setProperty(org.apache.commons.logging.simplelog.defaultlog,fatal); in my main method before any classes are

Re: can't seem to supress logging

2003-12-03 Thread Michael Becke
From looking at the commons logging docs http://jakarta.apache.org/commons/logging/userguide.html it seems that this could also happen if you are using a 1.4 JRE. If so, you can either configure logging using java.util.logging or set the following system property to default commons logging to

Re: can't seem to supress logging

2003-12-03 Thread christopher justin
wonderful, that seemed to work.. thanks alot Michael. I have one quick question that I will ask in this same email - In a multi-threaded environemnt, if each thread has its own HttpClient instance, this works just fine correct ? There is no statically shared object some where down the

Re: can't seem to supress logging

2003-12-03 Thread Michael Becke
Hi Chris, I'm glad that has fixed the problem. As to the threading question, you are correct. You can safely use multiple instances of HttpClient from different threads. They do not share any static resources. The docs on multi-threading only apply if you would like to share a pool of

Make HttpClient pick Basic Auth over NTLM?

2003-12-03 Thread anon permutation
Hi, I am using a proxy server that supports both NTLM and Basic Authentications. How do I make HttpClient use Basic Auth. instead of NTLM? I am using 2.0-rc2. Following is my code: