Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 49724 invoked from network); 5 Dec 2008 22:31:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2008 22:31:48 -0000 Received: (qmail 88445 invoked by uid 500); 5 Dec 2008 22:31:57 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 88410 invoked by uid 500); 5 Dec 2008 22:31:57 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 88401 invoked by uid 99); 5 Dec 2008 22:31:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 14:31:57 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.177] (HELO spunkymail-a3.g.dreamhost.com) (208.97.132.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 22:30:25 +0000 Received: from [192.168.0.3] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a3.g.dreamhost.com (Postfix) with ESMTP id EB42115D4ED for ; Fri, 5 Dec 2008 14:31:12 -0800 (PST) Message-Id: <1AD9354E-077C-4448-97EC-DE7C89B45B5A@apache.org> From: Grant Ingersoll To: java-dev@lucene.apache.org In-Reply-To: <49399ADD.4020200@apache.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Java logging in Lucene Date: Fri, 5 Dec 2008 17:31:12 -0500 References: <786fde50812051017k477c6d11tf112678525d9ad84@mail.gmail.com> <49397AFD.5060706@apache.org> <346DD31B-A72A-42EE-AF2C-2366CEE20BB3@mikemccandless.com> <786fde50812051138i53640492yc32d8df3f7b02ecb@mail.gmail.com> <786fde50812051235n4c2e30fdpce4fef42b81fdce8@mail.gmail.com> <49399657.1010602@apache.org> <8837fb770812051313o732679fasef3d9c8524852929@mail.gmail.com> <49399ADD.4020200@apache.org> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org For some additional context, go over to the Solr mail archive and search for "Logging, SLF4J" or see http://lucene.markmail.org/message/gxifhjzmn6hgloy7?q=Solr+logging+SLF4J I personally don't like JUL and would be against using it. I could, maybe, just maybe, be talked into SLF4J. The other thing I worry about is that the logging will probably be carefully crafted at first, but then will grow and grow and end up in some tight loops, etc. Ah, for the days of the C preprocessor, where we could easily deliver a version of Lucene w/ logging and without for this kind of debugging... ;-) -Grant On Dec 5, 2008, at 4:19 PM, Doug Cutting wrote: > John Wang wrote: >> If we were to depend on a jar for logging, then why not log4j or >> commons-logging? > > Lucene is used by many applications. Many of those applications > already perform some kind of logging. We'd like whatever Lucene > adds to fit in with their existing logging framework, not conflict > with it. Thus the motivation to use a meta-logging framwork like > commons logging or slf4j. And articles like the following point > towards slf4j, not commons logging. > > http://www.qos.ch/logging/thinkAgain.jsp > > Doug > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org