Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 20162 invoked from network); 3 Apr 2002 20:20:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Apr 2002 20:20:27 -0000 Received: (qmail 21669 invoked by uid 97); 3 Apr 2002 20:20:29 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 21640 invoked by uid 97); 3 Apr 2002 20:20:28 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 21629 invoked from network); 3 Apr 2002 20:20:28 -0000 X-Authentication-Warning: dyn-181.sfo.covalent.net: costinm owned process doing -bs Date: Wed, 3 Apr 2002 12:18:17 -0800 (PST) From: X-X-Sender: To: Jakarta Commons Developers List Subject: Re: [logging] Need interface... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 3 Apr 2002, Geir Magnusson Jr. wrote: > On 4/3/02 2:45 PM, "costinm@covalent.net" wrote: > > > On Wed, 3 Apr 2002, Geir Magnusson Jr. wrote: > > > >> Yes, that's true. I didn't realize that it o.a.c.l was actually a logging > >> framework.... I thought it was an interface we could write to in order to > >> isolate ourselves from changing logger preferences... > > > > It's a logging API, with interfaces you can use to isolated from the > > logger implementation. > > > > However, it seems that the Log.getLogger(foo) pattern is what people have to > use, or are expected to use? There is no such requirement or expectation AFAIK. Log.getLogger() is extremely easy to use, have the least overhead - that's why most people use that. Nothing prevent you from creating the logger and setting it in a manager application. Costin -- To unsubscribe, e-mail: For additional commands, e-mail: