Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 38465 invoked from network); 29 Apr 2009 06:34:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Apr 2009 06:34:09 -0000 Received: (qmail 39606 invoked by uid 500); 29 Apr 2009 06:34:08 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 39535 invoked by uid 500); 29 Apr 2009 06:34:08 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 39525 invoked by uid 99); 29 Apr 2009 06:34:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2009 06:34:07 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of toreason@fastmail.fm designates 66.111.4.25 as permitted sender) Received: from [66.111.4.25] (HELO out1.smtp.messagingengine.com) (66.111.4.25) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2009 06:33:59 +0000 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 1CE2A333F2F for ; Wed, 29 Apr 2009 02:33:39 -0400 (EDT) Received: from web8.messagingengine.com ([10.202.2.217]) by compute1.internal (MEProxy); Wed, 29 Apr 2009 02:33:39 -0400 Received: by web8.messagingengine.com (Postfix, from userid 99) id F34EAE4218; Wed, 29 Apr 2009 02:33:38 -0400 (EDT) Message-Id: <1240986818.10057.1312853021@webmail.messagingengine.com> X-Sasl-Enc: pdbbvIA5LCsZ6PaALW7/xfj1VQ89mJ3acGAWxYCQ9pg2 1240986818 From: "V S P" To: httpclient-users@hc.apache.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface Subject: [Q]log4j logging setup Date: Wed, 29 Apr 2009 02:33:38 -0400 X-Virus-Checked: Checked by ClamAV on apache.org Hello wanted to ask if a combination of http-components core 4.0 commons-logging-1.1 log4j-1.2.13 is supposed to be working to produce DEBUG logging Do I possibly need to pass any special args to things like HttpRequestExecutor? My configuration file is ----------------- log4j.rootLogger=DEBUG,stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%5p [%c] %m%n log4j.logger.org.apache.component=DEBUG,stdout log4j.logger.httpclient.wire=DEBUG,stdout log4j.logger.org.apache.commons.httpclient=DEBUG,stdout log4j.logger.org.openxml4j=DEBUG,stdout ----------------- I load it in main with PropertyConfigurator.configure(args[0]); but also specify it with -Dlog4j.configuration just in case -- as I am at a loss now. I have made sure with java -Dorg.apache.commons.logging.diagnostics.dest=STDOUT that my log4j installation is detected. My logging messages are displayed, also openxml4j messages are displayed too (I am using that package as well) DEBUG [org.openxml4j] Save core properties part DEBUG [org.openxml4j] Save core properties part My program is command line (not executed within a app server) It is pretty much a cut and paste from the ElementalHttpGet.java not even a single line is coming out frm httpcomponents thank you in advance for any pointers Vlad -- V S P toreason@fastmail.fm -- http://www.fastmail.fm - Or how I learned to stop worrying and love email again --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org