You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/02/14 23:59:00 UTC
[jira] [Commented] (LOG4J2-2250) Need ISO8601 timestamp for
StatusLogger
[ https://issues.apache.org/jira/browse/LOG4J2-2250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16364981#comment-16364981 ]
Gary Gregory commented on LOG4J2-2250:
--------------------------------------
Maybe when we switch to Java 8, we could use Java 8's {{DateTimeFormatter.ISO_LOCAL_DATE_TIME}}
> Need ISO8601 timestamp for StatusLogger
> ---------------------------------------
>
> Key: LOG4J2-2250
> URL: https://issues.apache.org/jira/browse/LOG4J2-2250
> Project: Log4j 2
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.10.0
> Reporter: Atle Tokle
> Priority: Minor
>
> We use a log-indexing system that uses the date-format to see where next log line begins.
> And have a requirement to standardize on ISO8601 format. But the lines written by StatusLogger when Log4j2 has a different format. I would like a configuration option that could specify the format. i.e.
> {code:java}
> <configuration verbose="true" status="trace" dateformat="ISO8601" >
> ...
> ...
> </configuration>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)