[slf4j-dev] [Bug 113] New: LoggerFactory does not work properly with ContextSelector

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Tue Nov 18 08:45:48 CET 2008


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

           Summary: LoggerFactory does not work properly with
                    ContextSelector
           Product: SLF4J
           Version: 1.5.x
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Implementations
        AssignedTo: dev at slf4j.org
        ReportedBy: holger.mense at wincor-nixdorf.com


The class LoggerFactory is used by the bridging APIs for requesting a Logger
instance of the SLF4J underlying implementation. The ContextSelector is only
called in the constructor to retrieve an ILoggerFactory instance. The factory
will then be used until the end of the application.

For a correct support of a ContextSelector implementation, LoggerFactory should
use for each request the ContextSelector in order to retrievee an
ILoggerFactory instance.

A quick fix is applied at this bugreport.


-- 
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