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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.2
    • 2.9.0
    • Layouts
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: