hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1663) Cannot use distinct logger for distinct httpclient
Date Tue, 30 Jun 2015 15:07:04 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14608433#comment-14608433

Oleg Kalnichevski commented on HTTPCLIENT-1663:

There is nothing stopping from decorating an instance of HttpClient or CloseableHttpClient
and logging invocations of its methods to a log category of your choosing from the decorator.


> Cannot use distinct logger for distinct httpclient
> --------------------------------------------------
>                 Key: HTTPCLIENT-1663
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1663
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 4.3.6
>            Reporter: Bruno
> Cannot use distinct logger for distinct httpclient.
> In my project, we use several httpclient with distinct config for calling distinct webservices.
> But there is only one wire logger for all and I cannot change that. With previous version
I just had to override the class to have logger of my package which was fine.
> Now it is impossbile but with the new building process of Client and their config, I
guess it would be easy to implement

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message