Since I have my commons-logging.properties file in WEB-INF/classes and *not* in a subdirectory everything works fine! I didn't get this out of the documentation.
Cheers
Koni
Craig R. McClanahan wrote:
On Fri, 8 Aug 2003, Koni Roth wrote:
Date: Fri, 08 Aug 2003 18:47:41 +0200 From: Koni Roth <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: How to configure commons-logging on JDK1.4
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?
The documentation you're seeking is in the "package description" portion of the Javadocs. This is true for all of the Commons packages.
http://jakarta.apache.org/commons/logging/api/
Cheers and enjoy the Friday Beer. Koni
Craig
-------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]