On Sat, 2006-01-21 at 17:05 +0000, robert burrell donkin wrote:
> On Sat, 2006-01-21 at 00:09 +1100, Torsten Curdt wrote: 
> > On 20.01.2006, at 12:02, Simon Kitching wrote:
> > 
> > > Re the proposed "minimal" jarfile:
> > >
> > > What exactly are the differences between this and the existing
> > > commons-logging-api jarfile?
> > 
> > Basically the implementations.
> > 
> > It would be nice if you could satisfy the commons-logging dependency
> > by just having the API jar in the classpath. But this also means no
> > implementations and no configuration. Basically it should not log at
> > all.

Can't you just use commons-logging-api.jar and a
commons-logging.properties file that specifies the NoOpLog logger?

=======
# commons-logging.properties file: disable all logging
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLogger
=======

This properties file just needs to be in the classpath (including inside
a jarfile).

Regards,

Simon



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

Reply via email to