You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2005/09/12 08:07:59 UTC
DO NOT REPLY [Bug 36604] New: -
Logger (Category) names don't follow common pattern
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36604>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36604
Summary: Logger (Category) names don't follow common pattern
Product: HttpClient
Version: 3.0 RC3
Platform: All
URL: http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper
/httpclient/trunk/src/java/org/apache/commons/httpclient
/Wire.java?rev=155418&view=markup
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: HttpClient
AssignedTo: httpclient-dev@jakarta.apache.org
ReportedBy: sormuras@gmx.de
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
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org