[logback-dev] [JIRA] (LOGBACK-1428) class LogginEventVo may have a code misstake which leads to a zero timestamp and finnaly an incorrect time in log file

QOS.CH (JIRA) noreply-jira at qos.ch
Mon Oct 8 10:02:00 CEST 2018


dengweiyi created LOGBACK-1428:
----------------------------------

             Summary: class LogginEventVo may have a code misstake which leads to a zero timestamp and finnaly an incorrect time in log file
                 Key: LOGBACK-1428
                 URL: https://jira.qos.ch/browse/LOGBACK-1428
             Project: logback
          Issue Type: Bug
          Components: logback-classic
    Affects Versions: 1.3.0-alpha4
         Environment: macos sierra 10.12.6
            Reporter: dengweiyi
            Assignee: Logback dev list
            Priority: Minor
         Attachments: bug-logback-snapshot1.png, bug-logback-snapshot2.png, bug-logback-snapshot3.png

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.



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the logback-dev mailing list