vy commented on a change in pull request #335: Import of LogstashLayout as 
JsonTemplateLayout
URL: https://github.com/apache/logging-log4j2/pull/335#discussion_r372016555
 
 

 ##########
 File path: 
log4j-layout-jackson-json-template/src/main/resources/JsonLayout.json
 ##########
 @@ -0,0 +1,27 @@
+{
+  "instant": {
+    "epochSecond": "${json:timestamp:epoch:divisor=1e9,integral}",
+    "nanoOfSecond": 0
 
 Review comment:
   I don't have a directive for `nanoOfSecond`, yet. Would you rather want to 
have it in the first release?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to