You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Bruno (JIRA)" <ji...@apache.org> on 2015/07/02 10:54:04 UTC

[jira] [Commented] (HTTPCLIENT-1663) Cannot use distinct logger for distinct httpclient

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

Bruno commented on HTTPCLIENT-1663:
-----------------------------------

I'll try to explain better :
My application is currently using more than 10 distinct webservice, for cloud, for sms, for geolocation ... For most of them I don't need log at all, for some others where there are some production issues and in order to help the provider of the service to fix it. I need at least the headers.
But if I activate the header for all webservice I'll be drawn under the logs of all webservice for which I don't need logs.

After reflexion, a way to configure logger depending on the Host requested would also do the job.


> 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