You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Carter Kozak (Jira)" <ji...@apache.org> on 2021/08/24 18:09:00 UTC
[jira] [Assigned] (LOG4J2-3142) Timestamp always returns 0 for
LogEventAdapter
[ https://issues.apache.org/jira/browse/LOG4J2-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carter Kozak reassigned LOG4J2-3142:
------------------------------------
Assignee: Carter Kozak
> Timestamp always returns 0 for LogEventAdapter
> ----------------------------------------------
>
> Key: LOG4J2-3142
> URL: https://issues.apache.org/jira/browse/LOG4J2-3142
> Project: Log4j 2
> Issue Type: Bug
> Components: log4j 1.2 emulation
> Affects Versions: 2.14.1
> Reporter: John Meikle
> Assignee: Carter Kozak
> Priority: Minor
>
> When invoking {{LogEventAdapter.getTimestamp()}} the result is always 0 even if the {{LogEvent}} used in construction contains a timestamp.
> Should consider overriding the method to return {{LogEvent.getTimeMillis()}} which represents the same thing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)