commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [Logging] Standalone App using BeanUtils getting wierd exception
Date Thu, 01 May 2003 14:06:10 GMT
it's covered in the java docs but not (at the moment) in the users guide. 
(i'll probably add something about it now.)

i've also enhanced the error handling so that a more obvious message is 
shown in circumstances like this.

- robert

On Thursday, May 1, 2003, at 01:57 PM, Brandon Goodin wrote:

> It WORKED!!! Is this information anywhere in the documentation? If not... 
> it
> might be good to have.
>
> Brandon Goodin
>
> -----Original Message-----
> From: robert burrell donkin
> [mailto:robertburrelldonkin@blueyonder.co.uk]
> Sent: Thursday, May 01, 2003 3:55 AM
> To: Jakarta Commons Users List
> Subject: Re: [Logging] Standalone App using BeanUtils getting wierd
> exception
>
>
> hi brandon
>
> i think i know the cause of your problem (see below).
>
> On Wednesday, April 30, 2003, at 09:42 PM, Brandon Goodin wrote:
>
> <snip>
>
>> I use a properties file in the classpath called commons-
>> logging.properties
>> It contains the following single line...
>>
>> ------ Config start ------
>>
> org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Simple
>> Log
>> ------ Config end ------
>
> commons logging uses two different abstractions - LogFactory (which is in
> charge of determining the logging configuration strategy) and Log (which
> does the actual logging).
>
> SimpleLog is a Log implementation (rather than a LogFactory 
> implementation)
> .
>
> try:
>
>
> org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFac
> toryImpl
>     
> org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
>
> instead.
>
> - robert
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


Mime
View raw message