Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1599

LoggingEvent.getTimeStamp no longer returns milliseconds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-alpha11
    • Fix Version/s: 1.3.0-alpha12
    • Component/s: logback-classic
    • Labels:
      None

      Description

      As of commit ce43569b0f, 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?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ceki Ceki Gülcü
              Reporter:
              bkail Brett Kail
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: