log scope for wire logging

View: New views
2 Messages — Rating Filter:   Alert me  

log scope for wire logging

by Adrian Cole-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I noticed a change in the scopes used for wire logging in HC 4.0:

DefaultClientConnection
   private final Log headerLog =
LogFactory.getLog("org.apache.http.headers");
   private final Log wireLog = LogFactory.getLog("org.apache.http.wire");

I'm sure there's a good reason to change convention.  Can you give an update
as compared to this?
     http://hc.apache.org/httpclient-3.x/logging.html

Thanks,
-Adrian
jclouds

Re: log scope for wire logging

by olegk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Adrian Cole wrote:

> I noticed a change in the scopes used for wire logging in HC 4.0:
>
> DefaultClientConnection
>    private final Log headerLog =
> LogFactory.getLog("org.apache.http.headers");
>    private final Log wireLog = LogFactory.getLog("org.apache.http.wire");
>
> I'm sure there's a good reason to change convention.  Can you give an update
> as compared to this?
>      http://hc.apache.org/httpclient-3.x/logging.html
>
> Thanks,
> -Adrian
> jclouds
>


Hi Adrian

The change was requested by a number of users who thought the new scope
was more logical.

There is an updated version of the logging guide

http://hc.apache.org/httpcomponents-client/logging.html

Cheers

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@...
For additional commands, e-mail: httpclient-users-help@...