Re: [picocontainer-dev] Logging Frameworks for 2.3

Paul Hammant <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Mike,

> 1 - Deprecate Tracing Container:  Paul's new methods to  
> ComponentMonitor take
> care of all requirements for the container and then some.  (I figure  
> to remove
> on v 3.0)
>

+1

> 2 - I know Mauro wanted to only support Commons-Logging in Gems  
> while I was a
> raw Log4j fan.  However, lately, I've been using Slf4j + Logback,  
> and I realized
> that if we supported CommonsLogging and Slf4j as the only two  
> monitor types
> (officially supported, of course) that we would cover the two major
> Monitor-Strategy libraries and that would probably be sufficient for  
> common use.
> So I would:
> 		A - Add Slf4j Component Monitor

+1

>
> 		B - Deprecate Log4j Component Monitor. (We can keep it if others
> use it)

-1

People may want to use Log4J direct ... not via CommonsLogging.

Additonally,

Maybe we would also want to add formal (optional) ..

  public class LogFactoryInjector extends FactoryInjector<Log> {
  }

.. for each permutation of logging framework.

- Paul

PS - Death to static Logging!!


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.