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 Tue, 30 Jun 2015 15:06:05 GMT

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

Michael Osipov commented on HTTPCLIENT-1663:
--------------------------------------------

I haven't seen such an option in any library. I would rather consider using markers with SLF4J
but still one would need to alter HttpClient's config.

I don't understand why you need this at all. Wire logging is only necessary in exceptional
situations and not production, isn't it?

> 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
(v6.3.4#6332)

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


Mime
View raw message