Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3142

Timestamp always returns 0 for LogEventAdapter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.14.1
    • 2.15.0
    • Log4j 1.2 bridge
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ckozak Carter Kozak
              jjmms John Meikle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: