You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Andreas Winter (JIRA)" <ji...@apache.org> on 2019/07/09 07:19:00 UTC

[jira] [Created] (LOG4J2-2651) JSON layout changed from 2.10 to 2.12

Andreas Winter created LOG4J2-2651:
--------------------------------------

             Summary: JSON layout changed from 2.10 to 2.12
                 Key: LOG4J2-2651
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2651
             Project: Log4j 2
          Issue Type: Bug
          Components: Layouts
    Affects Versions: 2.12.0
            Reporter: Andreas Winter


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"

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)