[logback-dev] [JIRA] Updates for LOGBACK-1605: Typo in a javadoc for getTimeStamp/setTimeStamp in LoggingEvent?

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


logback / LOGBACK-1605 [Open]
Typo in a javadoc for getTimeStamp/setTimeStamp in LoggingEvent?

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

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-1605

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

Oleksandr Gavenko created this issue on 27/Dec/21 7:20 PM
Summary:              Typo in a javadoc for getTimeStamp/setTimeStamp in LoggingEvent?
Issue Type:           Bug
Affects Versions:     1.3.0-alpha11, 1.3.0-alpha12
Assignee:             Logback dev list
Components:           logback-classic
Created:              27/Dec/21 7:20 PM
Environment:
  The Javadoc for getTimeStamp/setTimeStamp  in {{ch/qos/logback/classic/spi/LoggingEvent}} specifies:
  
  bq. Return the number of elapsed seconds since epoch in UTC.
  
  bq. Set the number of elapsed seconds since epoch in UTC.
  
  
  while there is a code:
  
  {{this.timeStamp = (epochSecond*1000)+(milliseconds);}}
  
  making {{timeStamp}} of millisecond precision.
  
  Also Javadoc conflicts with base interface {{ILoggingEvent}} working:
  
  bq. Return the number of elapsed milliseconds since epoch.
Priority:             Major
Reporter:             Oleksandr Gavenko


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



More information about the logback-dev mailing list