Log4j 2
  1. Log4j 2
  2. LOG4J2-82

MarkerFilter causes Markers to be incorrectly created. SLF4J Markers cause ClassCastException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-alpha2
    • Fix Version/s: 2.0-beta1
    • Component/s: API
    • Labels:
      None

      Description

      MarkerFilter calls MarkerManager.getMarker(). This will cause the Marker to be created when the configuration is processed and generally won't allow the application to create the Markers.

      MarkerWrapper's instanceOf method tries to cast a Marker to a MarkerWrapper even when the Marker is not a MarkerWrapper, causing a ClassCastException.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Ralph Goers
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development