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

Inconsistent timezone in logs

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. patch.txt
          1 kB
          Jérôme Mainaud
        2. 12004-trunk.patch2.txt
          3 kB
          Jérôme Mainaud

          Activity

            People

            • Assignee:
              Unassigned Assign to me
              Reporter:
              jxerome Jérôme Mainaud
              Reviewers:
              Paulo Motta (Deprecated)

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment