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.

        Issue Links

          Activity

          Hide
          garydgregory Gary Gregory added a comment -

          Isn't the footer good for that?

          Show
          garydgregory Gary Gregory added a comment - Isn't the footer good for that?
          Hide
          mikaelstaldal Mikael Ståldal added a comment -

          Not really.

          Show
          mikaelstaldal Mikael Ståldal added a comment - Not really.
          Hide
          mikaelstaldal Mikael Ståldal added a comment -

          In Git master, please verify and close Joern Huxhorn.

          Show
          mikaelstaldal Mikael Ståldal added a comment - In Git master, please verify and close Joern Huxhorn .

            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:

                Development