hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1663) Cannot use distinct logger for distinct httpclient
Date Mon, 29 Jun 2015 18:47:05 GMT

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

Michael Osipov commented on HTTPCLIENT-1663:

Logging configuration is your concern, no the HttpClient's one. You should try SLF4J with
MDC. This should give you the ability to add distinct information for your clients on a per-thread

> 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