[
https://issues.apache.org/jira/browse/HTTPCLIENT-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-497.
------------------------------------------
Resolution: Fixed
Fixed in SVN trunk
Oleg
> Logger (Category) names don't follow common pattern
> ---------------------------------------------------
>
> Key: HTTPCLIENT-497
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-497
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 3.0 RC3
> Environment: Operating System: other
> Platform: All
> Reporter: Christian Stein
> Fix For: 4.0 Alpha 1
>
> Attachments: patch-36604.diff
>
>
> The Wire class uses two loggers named unexpected. The "org.apache.commons."
> prefix is missing - so you can't mute all debug level statements with a
> one-liner in you log4j.properties for example:
> log4j.logger.org.apache.commons.httpclient INFO
> You have to add this, too:
> log4j.logger.httpclient INFO
> Please prepend the "org.apache.commons." before both names.
> Cheers,
> Christian
> <code>
> class Wire {
> public static Wire HEADER_WIRE = new
> Wire(LogFactory.getLog("httpclient.wire.header"));
>
> public static Wire CONTENT_WIRE = new
> Wire(LogFactory.getLog("httpclient.wire.content"));
> </code>
> http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/Wire.java?rev=155418&view=markup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]