Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 28090 invoked from network); 5 Jul 2006 14:19:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2006 14:19:53 -0000 Received: (qmail 95686 invoked by uid 500); 5 Jul 2006 14:19:44 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 95563 invoked by uid 500); 5 Jul 2006 14:19:44 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 95516 invoked by uid 99); 5 Jul 2006 14:19:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 07:19:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [85.90.206.104] (HELO office.redwerk.com) (85.90.206.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 07:19:43 -0700 Received: from bofh by office.redwerk.com with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Fy8Dq-0003MW-3Q for httpclient-user@jakarta.apache.org; Wed, 05 Jul 2006 17:19:22 +0300 Date: Wed, 5 Jul 2006 17:19:22 +0300 From: Eugeny N Dzhurinsky To: HttpClient User Discussion Subject: Re: logging Message-ID: <20060705141922.GA12908@office.redwerk.com> Mail-Followup-To: HttpClient User Discussion References: <20060629143916.GB8314@office.redwerk.com> <20060630071512.GC1068@office.redwerk.com> <20060703170532.GA6764@office.redwerk.com> <44AA2831.3030005@asert.com.au> <20060704122205.GA4344@office.redwerk.com> <44AA6CEB.4000207@asert.com.au> <20060704155129.GA6060@office.redwerk.com> <44AA9E66.9060400@dubioso.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <44AA9E66.9060400@dubioso.net> User-Agent: Mutt/1.5.11 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tue, Jul 04, 2006 at 06:59:18PM +0200, Roland Weber wrote: > Hello Eugeny, > > > Does it means I need to set up properties for commons loggingtogether with > > log4j?! > > Looks weird since on commons logging page stated log4j could be used as well > > w/o additional configuration for commons-logging. > > If you want to be on the safe side, set up properties that specify which > logging package you want to use. Commons logging has a default search > strategy, but that's the part of commons logging where most of the problems > come from. For example, depending on your JDK version, the default strategy > may select JDK logging instead of log4j. It's really not so much work to > write a commons-logging.properties file with a property that specifies the > log4j factory. Okay, It seems I solved the problem with commons-logging by providing commons-logging.properties file with org.apache.commons.logging.Log = org.apache.commons.logging.impl.Log4JLogger Thank you for help! -- Eugene N Dzhurinsky --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org