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

        Hide
        Ralph Goers added a comment -

        Fixed in revision 1408842

        Show
        Ralph Goers added a comment - Fixed in revision 1408842

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development