commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <>
Subject Re: common-logging disabling logging
Date Fri, 17 Mar 2006 21:37:20 GMT
Yep. However using a file is generally more

You should check whether there is already a
file in the classpath (eg inside a jarfile) at a position earlier than
the one you created.

Note that the file should be at the "top level", eg not nested inside



On Fri, 2006-03-17 at 20:55 +0100, Dennis Lundberg wrote:
> Hi Alex
> Another way to do it is to set a system property when you run your 
> program. Something like this (but all on one line):
> java -classpath=... 
> -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
> com.yourcompany.YourClass

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message