[prev in list] [next in list] [prev in thread] [next in thread]
List: log4j-dev
Subject: [jira] [Commented] (LOG4J2-1752) Add ISO8601 format to timestamp in JSONLayout
From: Mikael_Ståldal_(JIRA) <jira () apache ! org>
Date: 2016-12-30 18:08:58
Message-ID: JIRA.13030707.1482848407000.619388.1483121338502 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/LOG4J2-1752?page=com.atlassian.jira.plugin \
.system.issuetabpanels:comment-tabpanel&focusedCommentId=15788093#comment-15788093 ]
Mikael Ståldal commented on LOG4J2-1752:
----------------------------------------
Are you using Logstash? If so, have you tried \
[GelfLayout|http://logging.apache.org/log4j/2.x/manual/layouts.html#GELFLayout] and \
[Logstash's GELF input|https://www.elastic.co/guide/en/logstash/current/plugins-inputs-gelf.html]?
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic