[slf4j-dev] [Bug 98] New: SLF4JBridgeHandler does not account for loggers with resourceBundle

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Fri Aug 22 14:00:11 CEST 2008


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

           Summary: SLF4JBridgeHandler does not account for loggers with
                    resourceBundle
           Product: SLF4J
           Version: 1.5.x
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: major
          Priority: P1
         Component: Implementations
        AssignedTo: dev at slf4j.org
        ReportedBy: dsmith at nesmi.com


Created an attachment (id=44)
 --> (http://bugzilla.slf4j.org/attachment.cgi?id=44)
TestCase + Fix

The following code will log "resourceBundle_key" instead of the actual value of
the key in the resource bundle

logger = java.util.logging.Logger.getLogger("yay",resourceBundleName);
logger.debug("resourceBundle_key");

see attachment for test case and fix


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