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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 1.3.0-alpha4
    • logback-classic
    • 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

        1. bug-logback-snapshot1.png
          259 kB
          dengweiyi
        2. bug-logback-snapshot2.png
          276 kB
          dengweiyi
        3. bug-logback-snapshot3.png
          114 kB
          dengweiyi

        Activity

          People

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

            Dates

              Created:
              Updated: