commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sagun shakya <Sagun.Sha...@Sun.COM>
Subject commons logging + Jdk14Logger
Date Wed, 01 Apr 2009 22:54:47 GMT

I'm trying to use commons logging with the the Jdk14Logger  
implementation. I have it working to some extent but I'm hitting one  
issue that I think is due to an incorrect setting in my properties  
file. So
I know my application is using  
org.apache.commons.logging.impl.Jdk14Logger implementation because
when I run my application as:
java -cp target/ 
foo.jar <option>

I see the logging configuration for Jdk14 working as I configure.

Both the "" and "" are  
under src/main/resources so they are in the classpath.

In  the file I have:

logger= org.apache.commons.logging.impl.Jdk14Logger

The last 3 lines is not correct, I believe, but I haven't been able to  
figure what it should be.

Is it possible to configure to look at the  
the properties and not read the non default JRE/lib/  
file without having to pass it in with command line options?



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

View raw message