Re: Merlin: log4j provider

Jon Elson-Green <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
Stephen McConnell wrote:

>  
>
>>-----Original Message-----
>>From: Jon Elson-Green [mailto:[email protected]]
>>Sent: 25 August 2004 04:08
>>To: Avalon framework users
>>Subject: Merlin: log4j provider
>>
>>I'm trying to switch from logkit to log4j in 3.3.0.
>>
>>So far all I've done is add a line to merlin.properties:
>>
>>merlin.logging.implementation =
>>artifact:avalon-logging/avalon-logging-log4j#1.0.0
>>
>>
>>However I get the following error:
>>    
>>
>
><snip>
>
>I'm guessing that the log4j plugin is assuming that a log4j
>configuration is supplied.  In the case of the logkit logging solution
>the plugin automatically kicks over to a console logger - but I'm not
>sure what the policy is concerning the log4j implementation.  I would
>try setting the logging configuration parameter with something sensible
>for log4j and see where that leads you.
>  
>
Indeed!
I have added a log4j config and a merlin.logging.config and it all works :)

thanks,

-- 
Jon Elson-Green
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.