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

LoggingEvent.getTimeStamp no longer returns milliseconds

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.3.0-alpha12
    • 1.3.0-alpha11
    • logback-classic
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: