commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simon <>
Subject Re: [httpclient] logging problems
Date Fri, 02 May 2008 21:27:44 GMT

On Thu, 2008-05-01 at 13:21 -0400, wrote:
> Greetings, thanks for all your work on this project!
> I'm finding that in practice the org.apache.httpclient log name is not
> isolating the httpclient messages. I had to specifically use
> httpclient.wire in order to hide those log messages. I've glanced
> through the source code, and it doesn't *seem* that I should have to
> do this.. just curious if anyone else is seeing this? I have set
> org.apache = warn but still see the wire messages.
> Here is the Manifest from the commons-httpclient.jar:
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.7.0
> Created-By: 10.0-b19 (Sun Microsystems Inc.)
> Extension-Name: httpclient
> Specification-Vendor: Apache Software Foundation
> Specification-Version: 1.0
> Implementation-Vendor: Apache Software Foundation
> Implementation-Version: 3.1
> Thanks in advance,

The httpclient code is now managed by a different project, with a
separate user mailing list. You should ask there for any future

But the httpclient code does indeed use the "httpclient.wire" category
for logging some messages:

~/apache/HTTPCLIENT_3_1$ find . -name "*.java" -exec grep
"httpclient.wire" {} \; -print

    public static Wire HEADER_WIRE = new
    public static Wire CONTENT_WIRE = new

Logging does not *force* code to use category names that match the class
that writes the log message; that is just a convention.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message