> -----Original Message----- > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED] > Sent: dinsdag 28 oktober 2003 1:47 > To: [EMAIL PROTECTED] > Subject: Re: sitemap logging? > > Unico Hommes wrote: > > >It seems that all loggers assigned to sitemap components are getting > >their category prepended with 'sitemap'. > > > >Defining <transformer name="xslt" logger="sitemap.transformer.xslt" /> > >the transformer will get a logger in the category > >sitemap.sitemap.transformer.xslt > > > >Is this intentensional? > > > > > > I tend to think that this is correct behavior (because it is more > "secure" -- parent logger is given to you and you don't have ability to > use different one) and declarations in the sitemap should be changed to > cut "sitemap." prefix. > > Other opinions? >
Hmm. By that rationality we could also say that all generators should get sitemap.generators prepended, and perhaps each individual generator get [EMAIL PROTECTED] category assigned. But maybe that is too much automagic. Moreover users have gotten used to defining absolute logger category names in the sitemap. It took me quite a while before I realized what had changed. I see a slight advantage as you point out but to me it's not worth the confusion that will arise. Others? -- Unico
