Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-89

SLF4JBridgeHandler does not account for loggers with resourceBundle

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.5.x
    • Fix Version/s: None
    • Component/s: Implementations
    • Labels:
      None
    • Environment:

      Operating System: Windows NT
      Platform: PC

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              slf4j-dev SLF4J developers list
              Reporter:
              dsmith@nesmi.com Darryl Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: