I would like to use org.apache.commons.logging.impl.SimpleLog.
What do I have to write in the commons-logging.properties file? How do I tell my application to use the commons-logging.properties file?
Any further help with examples would be appreciated. Thanx, Koni
Kris Schneider wrote:
Is the commons-logging.properties file located in your app's WEB-INF/classes dir?
Quoting Koni Roth <[EMAIL PROTECTED]>:
No answer until now! It looks like nobody is using commons-logging! Very frustrating to be the only one using it...
Is there really no useful example or documentation?
Cheers and enjoy the Friday Beer. Koni
-------- Original Message -------- Subject: How to configure commons-logging on JDK1.4 Date: Fri, 8 Aug 2003 10:11:58 +0200 From: Koni <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Hello I'm using Struts 1.1 with commons-logging. My 'commons-logging.properties' file is in the CLASSPATH and has the following 2 entries:
---- org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog org.apache.commons.logging.simplelog.log.LogonAction=info ----
When I run my application the Log should use the 'SimpleLog', as defined
in 'commons-logging.properties'. BUT it uses the default logger for my environment
org.apache.commons.logging.impl.Jdk14Logger!!!!
How can I configure logging to use 'SimpleLog'?? Any examples??
Thanks Koni
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]