Unify STDOUT and SYSTEMLOG logback format

Patch by Jérôme Mainaud; Reviewed by Paulo Motta for CASSANDRA-12004
This commit is contained in:
Jérôme Mainaud 2016-07-26 16:59:27 -03:00 committed by Aleksey Yeschenko
parent 472a7c55bc
commit e1393ec54f
5 changed files with 7 additions and 6 deletions

View File

@ -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)

View File

@ -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

View File

@ -21,7 +21,7 @@
<appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender">
<target>System.err</target>
<encoder>
<pattern>%-5level %date{HH:mm:ss,SSS} %msg%n</pattern>
<pattern>%-5level %date{"HH:mm:ss,SSS"} %msg%n</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>WARN</level>

View File

@ -79,7 +79,7 @@ appender reference in the root level section below.
<level>INFO</level>
</filter>
<encoder>
<pattern>%-5level %date{HH:mm:ss,SSS} %msg%n</pattern>
<pattern>%-5level [%thread] %date{ISO8601} %F:%L - %msg%n</pattern>
</encoder>
</appender>

View File

@ -45,7 +45,7 @@
<appender name="STDOUT" target="System.out" class="org.apache.cassandra.ConsoleAppender">
<encoder>
<pattern>%-5level %date{HH:mm:ss,SSS} %msg%n</pattern>
<pattern>%-5level [%thread] %date{ISO8601} %F:%L - %msg%n</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>DEBUG</level>