[slf4j-dev] [Bug 169] New: Better introspection into logging setup

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Feb 25 12:43:48 CET 2010


http://bugzilla.slf4j.org/show_bug.cgi?id=169

           Summary: Better introspection into logging setup
           Product: SLF4J
           Version: 1.5.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Implementations
        AssignedTo: slf4j-dev at qos.ch
        ReportedBy: jo at durchholz.org


I'd like to
- have a way to enumerate all SLF4J loggers configured, and
- get an event whenever any SLF4J logger has its configuration changed.

USE CASE:

I could improve SLF4JBridgeHandler with that.

I have a situation where I need to set j.u.l. logging to ALL for some loggers
to get the information I want, and WARN for other loggers to keep performance
to acceptable levels.
Currently, I'm forced to configure both slf4j *and* j.u.l. This is error-prone
because I have to keep redundant logging configurations, and because the
logging levels do not map 1:1.

With the enumeration, I could initialize a j.u.l. logger for every configured
slf4j logger, at a compatible logging level.
With the events, I could keep the j.u.l. configuration in sync with the slf4j
configuration.

HELPING WITH THE WORK

I can contribute the code, but I can't decide where in SLF4J's architecture it
should go.


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list