> -----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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]