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

JSON layout changed from 2.10 to 2.12

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.12.0
    • None
    • Layouts
    • 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

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

            Dates

              Created:
              Updated: