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

LoggerFactory does not work properly with ContextSelector

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.5.x
    • Implementations
    • None
    • Operating System: Windows XP
      Platform: PC

    Description

      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.

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            holger.mense Holger Mense
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: