[
https://issues.apache.org/jira/browse/LOG4J2-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17352339#comment-17352339
]
Volkan Yazici commented on LOG4J2-3075:
---------------------------------------
[~paulrubin37], could you try with the most recent artifact in [the public
snapshot
repository|https://repository.apache.org/content/groups/public/org/apache/logging/log4j/log4j-layout-template-json/2.15.0-SNAPSHOT/],
please?
> JsonTemplateLayout timestamp resolver doesn't format nanoseconds
> ----------------------------------------------------------------
>
> Key: LOG4J2-3075
> URL: https://issues.apache.org/jira/browse/LOG4J2-3075
> Project: Log4j 2
> Issue Type: Bug
> Components: JsonTemplateLayout
> Affects Versions: 2.14.0, 2.14.1
> Reporter: Paul Rubin
> Assignee: Volkan Yazici
> Priority: Minor
> Fix For: 3.0.0, 2.15.0
>
>
> As reported in LOG4J2-3073, {{TimestampResolver}} of {{JsonTemplateLayout}}
> doesn't format nanoseconds. The suspect is in the following form:
> {code:java}
> formatResolverContext.calendar.setTimeInMillis(timestampMillis);
> formatResolverContext.timestampFormat.format(
> formatResolverContext.calendar,
> formatResolverContext.formattedTimestampBuilder);
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)