I'm using DefaultLogKitManager in a different project and it works properly. You just need a target for your root category ( root category == "") :
<category name="" log-level="INFO"> <log-target id-ref="root"/> </category> ... the above configuration works for me! Mircea ----- Original Message ----- From: "Eung-ju Park" <[EMAIL PROTECTED]> To: "Avalon Development" <[email protected]> Sent: Friday, September 07, 2001 12:36 AM Subject: Re: DefaultLogKitManager not fit for Phoenix blocks? > > ----- Original Message ----- > From: "Mircea Toma" <[EMAIL PROTECTED]> > To: "Avalon Development" <[email protected]> > Sent: Friday, September 07, 2001 1:50 PM > Subject: Re: DefaultLogKitManager not fit for Phoenix blocks? > > > > Hi, > > > > Here is the diff for DefaultApplicationFrame that uses > DefaultLogKitManager. > > The server.xml (<logs>) configuration should be changed accordingly. I > guess > > I can change the DefaultEmbeddor to use the DefaultLogKitManager too > > ("TODO: allow configurable priorities and multiple logtargets"). > > > > Mircea > > I think using LogKitManager in Embeddor is not necessary. > It so complex for embeddor. > Embeddor write very small amount of logs. > > Your patch is very similar to mine. May be It have same problem( absence of > default category ). > I think need to fix DefaultLogKitManager for solve problem. I writen patch > for DefaultLogKitManager( see past my posting ). but I don't know it is > correct patch. ;-) > > PS. Peter. Is acceptable 'DefaultApplicationFrame that use LogKitManager'? > I will commit patch for DefaultLogKitManager, DefaultApplicationFrame, and > cornerstone server configuration If it is acceptable. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
