commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: How to configure commons-logging on JDK1.4
Date Fri, 08 Aug 2003 19:13:04 GMT
On Fri, 8 Aug 2003, Koni Roth wrote:

> Date: Fri, 08 Aug 2003 18:47:41 +0200
> From: Koni Roth <koniroth@bluewin.ch>
> Reply-To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> To: Struts Users Mailing List <struts-user@jakarta.apache.org>,
>      commons-user@jakarta.apache.org
> 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 <koniroth@bluewin.ch>
> Reply-To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> To: commons-user@jakarta.apache.org, struts-user@jakarta.apache.org
>
> 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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

Mime
View raw message