Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE81618FF0 for ; Mon, 29 Jun 2015 18:47:05 +0000 (UTC) Received: (qmail 15205 invoked by uid 500); 29 Jun 2015 18:47:05 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 15163 invoked by uid 500); 29 Jun 2015 18:47:05 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 14941 invoked by uid 99); 29 Jun 2015 18:47:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2015 18:47:05 +0000 Date: Mon, 29 Jun 2015 18:47:05 +0000 (UTC) From: "Michael Osipov (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1663) Cannot use distinct logger for distinct httpclient MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 basis. > 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