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"/>
This is something that is setup for the whole category. Each component cannot have
it's own priority if they share a category.
> Is there a problem when having multiple components using the same logger?
Yes. LogKit is not constructed in a way that handles this scenario. If you want
two different logging levels, then you need two different categories.
> <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"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]