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

JSON layout changed from 2.10 to 2.12

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.12.0
    • Fix Version/s: None
    • Component/s: Layouts
    • Labels:
      None

      Description

      The JSON layout in 2.10 reports the timestamp as "timeMillis" whereas 2.12 reports an "instant" with two fields "epochSecond" and "nanoOfSecond".

      Possible solution: make layout configurable like the PatternLayout or include "timeMillis" in addition to "instant"

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              awi4711 Andreas Winter
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: