Skip to content

Commit fa75f37

Browse files
committed
Add logback config file
So that debug messages are not printed out when executing tests. Logback logging config file is "redundant" since we already have log4j.properties. The former is used by test process and is preferred since it log4j can not be found on DSE classpath. The latter is used by obsolete EmbeddedCassandra and needs to be removed in the future.
1 parent 2b862e9 commit fa75f37

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!--
2+
~ Copyright DataStax, Inc.
3+
~
4+
~ Please see the included license file for details.
5+
-->
6+
7+
<configuration>
8+
9+
<!-- Since EmbeddedCassandra uses log4j and DSE uses logback, for the time being we need both
10+
configuration files. OS EmbeddedCassandra needs to be adjusted to DSE logging. -->
11+
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
12+
<encoder>
13+
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
14+
</encoder>
15+
</appender>
16+
17+
<root level="WARN">
18+
<appender-ref ref="STDOUT" />
19+
</root>
20+
</configuration>

0 commit comments

Comments
 (0)