Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1981

JsonLayout, XmlLayout and YamlLayout should support 0-byte termination of log events

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.2
    • Fix Version/s: 2.9.0
    • Component/s: Layouts
    • Labels:
      None

      Description

      To make it easier to process a stream of log events from JsonLayout, it should be possible to have them terminated by a 0-byte.

      If possible, implement in AbstractJacksonLayout and apply to XmlLayout and YamlLayout as well.

      Similar to what we just implemented for GelfLayout.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikaelstaldal Mikael Ståldal
                Reporter:
                mikaelstaldal Mikael Ståldal
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: