Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-12004

Inconsistent timezone in logs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.10
    • None
    • None
    • Low

    Description

      An error in provided logback.xml lead to inconsistent timestamp usage in logs.

      In log files, local time zone is used.
      On the console, UTC time zone is used (and millisconds are missing.)

      Example, the same log line (Local time zone: CEST) :

      in system.log

      INFO  [main] 2016-06-14 14:01:51,638 StorageService.java:2081 - Node localhost/127.0.0.1 state jump to NORMAL}}
      

      in console

      INFO  12:01:51 Node localhost/127.0.0.1 state jump to NORMAL
      

      Attachments

        1. 12004-trunk.patch2.txt
          3 kB
          Jérôme Mainaud
        2. patch.txt
          1 kB
          Jérôme Mainaud

        Activity

          People

            Unassigned Unassigned
            jxerome Jérôme Mainaud
            Paulo Motta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: