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

Add ISO8601 format to timestamp in JSONLayout

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: Layouts
    • Labels:

      Description

      The JSONLayout formats the timestamp field to timeMillis.
      Moving from logstash-logback-encoder it would be nice to be able to format the timestamp with ISO 8601 as the date pattern instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lind Jonas Lindholm
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: