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

Inconsistent timezone in logs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 3.10
    • Component/s: None
    • Labels:
      None
    • Severity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: