Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 50310 invoked from network); 3 Nov 2006 15:46:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2006 15:46:23 -0000 Received: (qmail 67137 invoked by uid 500); 3 Nov 2006 15:46:34 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 67118 invoked by uid 500); 3 Nov 2006 15:46:34 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 67109 invoked by uid 99); 3 Nov 2006 15:46:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 07:46:34 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jasnell@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 07:46:18 -0800 Received: by ug-out-1314.google.com with SMTP id y2so565569uge for ; Fri, 03 Nov 2006 07:45:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=AcX3ZCmd3Viocv3nG4+GyZICX+CL1iFhy3EcAD3vhPR9CpU5UfTV52CV20nLorIrCPLc/toDjwAkO1u6dGEpEavDNpv2XcF8Xxh+hHZSDj5jFyqwSDUCpkanNOSE1DTVR1eiiUjYuapx1u0sDrr/1xUs1x72Sq69l3roqTc+u8Q= Received: by 10.78.128.15 with SMTP id a15mr866458hud.1162568756268; Fri, 03 Nov 2006 07:45:56 -0800 (PST) Received: from ?192.168.1.101? ( [67.181.218.96]) by mx.google.com with ESMTP id 2sm1144806hue.2006.11.03.07.45.55; Fri, 03 Nov 2006 07:45:55 -0800 (PST) Message-ID: <454B642D.7030004@gmail.com> Date: Fri, 03 Nov 2006 07:45:49 -0800 From: James M Snell User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: abdera-dev@incubator.apache.org Subject: Re: Logging References: <5BA4BB69-2E5E-4025-A988-8C721450990B@gmail.com> In-Reply-To: <5BA4BB69-2E5E-4025-A988-8C721450990B@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org We don't depend on commons-logging directly. Axiom and the commons http client use it. I don't have a problem adding logging to the server or client code but I don't want it added to the core parser code. - James Ugo Cei wrote: > I see that we have a dependency on commons-logging in pom.xml but I > couldn't find any logging statement in the code. Since I'm starting to > use the APP server code, I find it useful to have it perform some > logging, especially when things go wrong. > > So my question is: do you have any advice, pet peeve or else related to > logging? I was just thinking of adding: > > private static final Log logger = LogFactory.getLog(MyClass.class); > > where needed, but if you are thinking of something different, let's > discuss it. > > Ugo > >