Log4j 2
  1. Log4j 2
  2. LOG4J2-127

Methods info, warn, error, fatal with marker and message do not pass the marker

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta3
    • Fix Version/s: 2.0-beta4
    • Component/s: API
    • Labels:
      None

      Description

      The follwing methods do not log the message, because the marker is not passed to isXxxEnabled:

      AbstractLogger.info(Marker, Message)
      AbstractLogger.warn(Marker, Message)
      AbstractLogger.error(Marker, Message)
      AbstractLogger.fatal(Marker, Message)

        Activity

        Ingo Feltes created issue -
        Ingo Feltes made changes -
        Field Original Value New Value
        Description The follwing methods do not pass the marker parameter:

        AstractLogger.info(Marker, Message)
        AstractLogger.warn(Marker, Message)
        AstractLogger.error(Marker, Message)
        AstractLogger.fatal(Marker, Message)
        The follwing methods do not pass the marker parameter:

        AbstractLogger.info(Marker, Message)
        AbstractLogger.warn(Marker, Message)
        AbstractLogger.error(Marker, Message)
        AbstractLogger.fatal(Marker, Message)
        Ingo Feltes made changes -
        Description The follwing methods do not pass the marker parameter:

        AbstractLogger.info(Marker, Message)
        AbstractLogger.warn(Marker, Message)
        AbstractLogger.error(Marker, Message)
        AbstractLogger.fatal(Marker, Message)
        The follwing methods do not log the message, because the marker is not passed to isXxxEnabled:

        AbstractLogger.info(Marker, Message)
        AbstractLogger.warn(Marker, Message)
        AbstractLogger.error(Marker, Message)
        AbstractLogger.fatal(Marker, Message)
        Ralph Goers made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Ralph Goers [ ralph.goers@dslextreme.com ]
        Fix Version/s 2.0-beta4 [ 12323477 ]
        Resolution Fixed [ 1 ]
        Ingo Feltes made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ingo Feltes made changes -
        Attachment AbstractLogger.patch [ 12555200 ]
        Christian Grobmeier made changes -
        Summary info, warn, error, fatal with marker and message do not pass the marker Methods info, warn, error, fatal with marker and message do not pass the marker
        Gary Gregory made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Ingo Feltes
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development