[ https://issues.apache.org/jira/browse/LOG4J2-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16540459#comment-16540459 ]
Kirill A. Korinskiy commented on LOG4J2-1752: --------------------------------------------- [~garydgregory], this pattern is wrapper over SimpleDateFormat and it doesn't support this format ;) But I agree that using named format is easy and better than define it each time. > Add ISO8601 format to timestamp in JSONLayout > --------------------------------------------- > > Key: LOG4J2-1752 > URL: https://issues.apache.org/jira/browse/LOG4J2-1752 > Project: Log4j 2 > Issue Type: Improvement > Components: Layouts > Affects Versions: 2.7 > Reporter: Jonas Lindholm > Priority: Minor > Labels: json, layout > > The > [JSONLayout|https://logging.apache.org/log4j/2.x/manual/layouts.html#JSONLayout] > formats the timestamp field to timeMillis. > Moving from > [logstash-logback-encoder|https://github.com/logstash/logstash-logback-encoder] > it would be nice to be able to format the timestamp with ISO 8601 as the > date pattern instead. -- This message was sent by Atlassian JIRA (v7.6.3#76005)