Peter Donald wrote:
>
> On Thu, 9 Aug 2001 00:16, Leo Sutic wrote:
> > Peter, Berin,
> >
> > how will this work with individual log levels for each
> > logger/category/channel?
> >
> > If one adds two properties: logger and loglevel, like this:
> >
> > <component role="com.foo.Component"
> > class="com.foo.DefaultComponent"
> > logger="foo"
> > loglevel="DEBUG"/>
> >
> > Is there a problem when having multiple components using the same logger?
> >
> > <component role="com.foo.Component"
> > class="com.foo.DefaultComponent"
> > logger="foo"
> > loglevel="DEBUG"/>
> >
> > <component role="com.foo.Component2"
> > class="com.foo.DefaultComponent2"
> > logger="foo"
> > loglevel="ERROR"/>
> >
> > If the two components share the same logger instance,
>
> they do.
>
> > I don't see how this can work.
>
> It can't work the way it is currently implemented. The only way around it is
> using separate loggers per component. Of course this makes configuration of
> logging even more difficult for cocoon ...
>
> hmmmm ... maybe it would be useful for me to not work on a
> LogManager/LogConfigurator next time I get free time rather than adding more
> targets ... not sure ... sounds too much like work ;) I don't suppose anyone
> from the Cocoon community has volunteered to make a Configurator ? ;)
I had one bite 3 days ago. Carston Ziegler also proposed to develop one.
I haven't had any information since.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]