diff --git a/CHANGES.txt b/CHANGES.txt index 67b5824ce4..04b2a3ff28 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 3.10 + * Unify STDOUT and SYSTEMLOG logback format (CASSANDRA-12004) * COPY FROM should raise error for non-existing input files (CASSANDRA-12174) * Faster write path (CASSANDRA-12269) * Option to leave omitted columns in INSERT JSON unset (CASSANDRA-11424) diff --git a/NEWS.txt b/NEWS.txt index 0492b25a22..8580c7c9c6 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -37,8 +37,9 @@ New features Upgrading --------- - - Nothing specific to 3.10 but please see previous versions upgrading section, - especially if you are upgrading from 2.2. + - Logs written to stdout are now consistent with logs written to files. + Time is now local (it was UTC on the console and local in files). Date, thread, file + and line info where added to stdout. (see CASSANDRA-12004) 3.8 === @@ -2171,4 +2172,3 @@ key in a given ColumnFamily) is limited by available memory, because compaction deserializes each row before merging. See https://issues.apache.org/jira/browse/CASSANDRA-16 - diff --git a/conf/logback-tools.xml b/conf/logback-tools.xml index e47985e91d..12b59fb36d 100644 --- a/conf/logback-tools.xml +++ b/conf/logback-tools.xml @@ -21,7 +21,7 @@ System.err - %-5level %date{HH:mm:ss,SSS} %msg%n + %-5level %date{"HH:mm:ss,SSS"} %msg%n WARN diff --git a/conf/logback.xml b/conf/logback.xml index a47740d70c..b0c95f77d1 100644 --- a/conf/logback.xml +++ b/conf/logback.xml @@ -79,7 +79,7 @@ appender reference in the root level section below. INFO - %-5level %date{HH:mm:ss,SSS} %msg%n + %-5level [%thread] %date{ISO8601} %F:%L - %msg%n diff --git a/test/conf/logback-test.xml b/test/conf/logback-test.xml index f6a54921dd..94cff40f32 100644 --- a/test/conf/logback-test.xml +++ b/test/conf/logback-test.xml @@ -45,7 +45,7 @@ - %-5level %date{HH:mm:ss,SSS} %msg%n + %-5level [%thread] %date{ISO8601} %F:%L - %msg%n DEBUG