RE: Merlin: log4j provider

"Stephen McConnell" <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <002b01c48a56$5c4a99f0$1601a8c0@gloria>

> -----Original Message-----
> From: Jon Elson-Green [mailto:[email protected]]
> Sent: 25 August 2004 05:42
> To: Avalon framework users
> Subject: Re: Merlin: log4j provider
> 
> 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
> :)
> 

Have just added a bug report on this - basically you should be able to
switch logging systems without declaring a config.

http://nagoya.apache.org/jira/browse/RUNTIME-54


Cheers, Steve.
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.