Log4j 2
  1. Log4j 2
  2. LOG4J2-115

FlumeAppender cannot process event when a ThreadContext value is null.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta2
    • Fix Version/s: 2.0-beta4
    • Component/s: Flume Appender
    • Labels:
      None

      Description

      The FlumeAppender constructs the FlumeEvent by copying all the Message data elements as well as the ThreadContext keys and values into the header map. If the ThreadContext contains a key with a null value then Avro will throw an exception.

        Activity

        Ralph Goers created issue -
        Hide
        Ralph Goers added a comment -

        Fixed in revision 1408842

        Show
        Ralph Goers added a comment - Fixed in revision 1408842
        Ralph Goers made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ralph Goers made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development