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

LocLoggers not working correctly with Markers

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.6.x
    • slf4j-ext
    • None
    • Operating System: All
      Platform: PC

    Description

      There is a bug in org.slf4j.ext.LoggerWrapper which LocLogger
      extends.

      The logging request methods taking a Marker as first argument, invoke the wrong method to determine if a logging request is enabled or not. For example, methods for level INFO logging requests invoke isInfoEnabled() instead of isInfoEnabled(marker).

      This bug makes MarkerFilter turbo filters unusable when used together with LocLoggers.

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            dario.campagna Dario Campagna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: