On Wed, 3 Apr 2002, Morgan Delagrange wrote:

> 
> I'm a little wary of adding an interface to commons-logging that _should
> never be used_ inside of any other Commons component.  If that interface
> started popping up in our other components, that would be very bad, as it
> would then imply/require that component to be used inside of an IoC
> framework.

Or in a JMX environment. Or as a JavaBean.

The fact that IOC uses setters doesn't mean nobody else should. 

Any component that want to allow a management application ( JMX for 
example ) to change it's logger can implement this interface ( or at least 
have a setter with this name that can be called with introspection ).

Again - I have doubts about how this will work for apps with multiple 
loggers, but the idea of supporting both push and pull is valid.

Costin



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to