faster async logback configuration for tests

patch by awiesberg; reviewed by beobal for CASSANDRA-9376
This commit is contained in:
Ariel Weisberg 2015-05-13 15:04:48 -04:00 committed by T Jake Luciani
parent fc79f363e8
commit 160e7f2945
7 changed files with 17 additions and 6 deletions

View File

@ -1,4 +1,5 @@
2.2
* faster async logback configuration for tests (CASSANDRA-9376)
* Add `smallint` and `tinyint` data types (CASSANDRA-8951)
* Avoid thrift schema creation when native driver is used in stress tool (CASSANDRA-9374)
* Populate TokenMetadata early during startup (CASSANDRA-9317)

View File

@ -338,8 +338,8 @@
<dependency groupId="org.slf4j" artifactId="slf4j-api" version="1.7.7"/>
<dependency groupId="org.slf4j" artifactId="log4j-over-slf4j" version="1.7.7"/>
<dependency groupId="org.slf4j" artifactId="jcl-over-slf4j" version="1.7.7" />
<dependency groupId="ch.qos.logback" artifactId="logback-core" version="1.1.2"/>
<dependency groupId="ch.qos.logback" artifactId="logback-classic" version="1.1.2"/>
<dependency groupId="ch.qos.logback" artifactId="logback-core" version="1.1.3"/>
<dependency groupId="ch.qos.logback" artifactId="logback-classic" version="1.1.3"/>
<dependency groupId="org.codehaus.jackson" artifactId="jackson-core-asl" version="1.9.2"/>
<dependency groupId="org.codehaus.jackson" artifactId="jackson-mapper-asl" version="1.9.2"/>
<dependency groupId="com.googlecode.json-simple" artifactId="json-simple" version="1.1"/>
@ -1192,8 +1192,8 @@
<pathelement location="${build.lib}/libthrift-0.9.0.jar" />
<pathelement location="${build.lib}/slf4j-api-1.7.7.jar" />
<pathelement location="${build.lib}/log4j-over-slf4j.jar" />
<pathelement location="${build.lib}/logback-core-1.1.2.jar" />
<pathelement location="${build.lib}/logback-classic-1.1.2.jar" />
<pathelement location="${build.lib}/logback-core-1.1.3.jar" />
<pathelement location="${build.lib}/logback-classic-1.1.3.jar" />
<pathelement location="${build.lib}/jackson-core-asl-1.9.2.jar" />
<pathelement location="${build.lib}/jackson-mapper-asl-1.9.2.jar" />
<fileset dir="${build.dir.lib}">

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/logback-core-1.1.3.jar Normal file

Binary file not shown.

View File

@ -17,7 +17,9 @@
under the License.
-->
<configuration>
<configuration debug="false">
<shutdownHook class="ch.qos.logback.core.hook.DelayingShutdownHook"/>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>./build/test/logs/system.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
@ -31,9 +33,17 @@
</triggeringPolicy>
<encoder>
<pattern>%-5level [%thread] %date{ISO8601} %msg%n</pattern>
<immediateFlush>false</immediateFlush>
</encoder>
</appender>
<appender name="ASYNCFILE" class="ch.qos.logback.classic.AsyncAppender">
<discardingThreshold>0</discardingThreshold>
<maxFlushTime>0</maxFlushTime>
<queueSize>1024</queueSize>
<appender-ref ref="FILE"/>
</appender>
<appender name="STDERR" target="System.err" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%-5level %date{HH:mm:ss,SSS} %msg%n</pattern>
@ -53,7 +63,7 @@
</appender>
<root level="DEBUG">
<appender-ref ref="FILE" />
<appender-ref ref="ASYNCFILE" />
<appender-ref ref="STDERR" />
<appender-ref ref="STDOUT" />
</root>