[ http://issues.apache.org/jira/browse/HTTPCLIENT-497?page=comments#action_12413896 ]
Oleg Kalnichevski commented on HTTPCLIENT-497: ---------------------------------------------- Odi, would you object if this one got resolved in 4.0, not 3.1? Oleg > Logger (Category) names don't follow common pattern > --------------------------------------------------- > > Key: HTTPCLIENT-497 > URL: http://issues.apache.org/jira/browse/HTTPCLIENT-497 > Project: Jakarta HttpClient > Type: Bug > Components: HttpClient > Versions: 3.0 RC3 > Environment: Operating System: other > Platform: All > Reporter: Christian Stein > Assignee: HttpClient Dev > Fix For: 3.1 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. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
