commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject RE: [logging] Need interface...
Date Wed, 03 Apr 2002 20:18:22 GMT
> -----Original Message-----
> From: Morgan Delagrange [mailto:mdelagra@yahoo.com] 
> 
> --- "Geir Magnusson Jr." <geirm@optonline.net> wrote:
> > On 4/3/02 2:45 PM, "costinm@covalent.net" <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?
> > 
> 
> Is that not also the case with Log4J and JDK 1.4? 
> Only the Avalon logger has a notion of IoC AFAIK.  It
> seems odd to be supporting IoC logging in
> commons-logging, when we know that all of our other
> components will not be able to utilize it.

My point exactly.

Commons Logging should be for all modules that do not
use IoC.

For those that do need IoC, they either need to use Avalon or
create their own framework.  (Hopefully, use Avalon ;P )


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message