[ http://issues.apache.org/jira/browse/HTTPCLIENT-497?page=all ]

Ortwin Glück updated HTTPCLIENT-497:
------------------------------------

    Bugzilla Id:   (was: 36604)
    Fix Version: 4.0 Alpha 1
                     (was: 3.1 Alpha 1)
      Assign To:     (was: HttpClient Dev)

Makes sense not to change this kind of things in a minor release.

> 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
>      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.
-
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]

Reply via email to