[logback-dev] [JIRA] Updates for LOGBACK-1599: LoggingEvent.getTimeStamp no longer returns milliseconds

QOS.CH (JIRA) noreply-jira at qos.ch
Mon Dec 20 23:34:00 CET 2021


logback / LOGBACK-1599 [Open]
LoggingEvent.getTimeStamp no longer returns milliseconds

==============================

Here's what changed in this issue in the last few minutes.
This issue has been created
This issue is now assigned to you.

View or comment on issue using this link
https://jira.qos.ch/browse/LOGBACK-1599

==============================
 Issue created
------------------------------

Brett Kail created this issue on 20/Dec/21 11:19 PM
Summary:              LoggingEvent.getTimeStamp no longer returns milliseconds
Issue Type:           Bug
Affects Versions:     1.3.0-alpha11
Assignee:             Logback dev list
Components:           logback-classic
Created:              20/Dec/21 11:19 PM
Priority:             Major
Reporter:             Brett Kail
Description:          As of [commit ce43569b0f|https://github.com/qos-ch/logback/commit/ce43569b0ffcb9430fc71fd7100065b3c022c7b0#diff-35674f4542669a627cb2de4bcd2dcef03e5c0a4e1d1b239d5da5bb07b7a33934L125], the {{LoggingEvent.getTimeStamp}} method is returning seconds rather than milliseconds, which breaks our custom layout, which is currently compatible with both SLF4J 1.x and 2.x and used by projects that are using a mix of both.  Is it possible to restore the previous {{getTimeStamp}} behavior of returning milliseconds and add a separate {{LoggingEvent.getSeconds}} method?


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)



More information about the logback-dev mailing list