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

class LogginEventVo may have a code misstake which leads to a zero timestamp and finnaly an incorrect time in log file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0-alpha4
    • Fix Version/s: None
    • Component/s: logback-classic
    • Labels:
    • Environment:

      macos sierra 10.12.6

      Description

      it's a small code misstake which could be saw in the attachment. because of this, timestamp of LogginEventVo will be zero.

      in my situation,i use SocketAppender and SimpleSocketServer to achieve the goal of remote log collection. when i do my test,  the time in the log file at the server side is incorrect. the time is  1970-01-01 08:00:00.000. after researching, it turns out to be above problem.

        Attachments

          Activity

            People

            Assignee:
            logback-dev Logback dev list
            Reporter:
            dengweiyi dengweiyi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: