You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jérôme Mainaud (JIRA)" <ji...@apache.org> on 2016/06/14 12:13:01 UTC

[jira] [Updated] (CASSANDRA-12004) Inconsistent timezone in logs

     [ https://issues.apache.org/jira/browse/CASSANDRA-12004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jérôme Mainaud updated CASSANDRA-12004:
---------------------------------------
    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

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

in console

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

  was:
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 :

in system.log

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

in console

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


> Inconsistent timezone in logs
> -----------------------------
>
>                 Key: CASSANDRA-12004
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12004
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jérôme Mainaud
>            Priority: Trivial
>
> 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
> {code}
> INFO  [main] 2016-06-14 14:01:51,638 StorageService.java:2081 - Node localhost/127.0.0.1 state jump to NORMAL}}
> {code}
> in console
> {code}
> INFO  12:01:51 Node localhost/127.0.0.1 state jump to NORMAL
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)