[EMAIL PROTECTED]>
Sent: Thursday, June 24, 2004 1:15 PM
Subject: RE: Logging Problem
Tim,
* What is the exact JRE version that you are using?
* Are you running HttpClient in a container (servlet container, EJB
container)?
* What other libraries do you have on the JRE's classpath?
* Have
Oleg
-Original Message-
From: Tim Patton [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 19:06
To: [EMAIL PROTECTED]
Subject: Logging Problem
I've been trying to get logging output to debug a cookie problem but no luck
so far. As far as I can tell from the docs, I just need the
I've been trying to get logging output to debug a cookie problem but no luck
so far. As far as I can tell from the docs, I just need these 4 lines of
code in my progrma somewhere:
System.setProperty("org.apache.commons.logging.simplelog.defaultlog","debug"
);
System.setProperty("org.apache.com
Chris,
Looks suspiciously like a ClassLoader problem, and not directly related
to HttpClient. I suggest looking on the net for compatibility issues
with JRun/ColdFusion MX and commons-logging.
Also see the logging instructions for HttpClient here:
http://jakarta.apache.org/commons/httpclient/
When attempting to run the example source code at the bottom of
http://jakarta.apache.org/commons/httpclient/tutorial.html within
JRun/ColdFusion MX, I get the following error:
[1]org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException
at
org.apache.commons.loggi
Yup - found it / fixed it. I had transcribed log4j.category to
log4j.logger.
That was it. Thanks much.
Cheers,
David
From: "David Brady" <[EMAIL PROTECTED]>
Reply-To: "Commons HttpClient Project"
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: W
David,
You might try setting the logging level for the "Logger" called
"httpclient.wire".
In other words, add this:
log4j.category.httpclient.wire=
Alas, I already had it in my log4j.properties file from my experiments over
the weekend. Didn't impact wire logging levels at all:
log4j.
David,
You might try setting the logging level for the "Logger" called
"httpclient.wire".
In other words, add this:
log4j.category.httpclient.wire=
with the debug level of your choice. If you look carefully at the
logging.html page, you can dig this tidbit out from this line:
"System.set
I use Log4j for our current project - no problems with it.
I've added to our log4j.properties file:
log4j.category.org.apache=INFO
This represses all of the httpclient debug messages (great!), but it doesn't
impact the "wire" debug messages.
Am I missing something?
I've checked the logging do