Anyone? Is there a way to configure logging "per package" if you use
class name as your logger name?
On Thu, Sep 23, 2010 at 11:26 AM, janne postilista
<jannepostilistat_at_gmail.com> wrote:
> Hi,
>
> I'm configuring logging for my application. I initialize logger with
> each class name (using slf4j) as logger name:
>
> private static final Logger log = LoggerFactory.getLogger(FooService.class);
>
> Now I can configure logger levels using glassfish admin console for
>
> com.my.package.FooService => OFF/FINE/...
>
> And this works fine. But I want to be able to configure logging levels
> by package name.
>
> I don't seem to be able to, I have tried adding categories like
>
> com.my.package
> com.my.package.*
>
> but they don't work.
>