Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
reduce logging in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apanicker-nflx committed Jan 30, 2019
1 parent 57cbbcc commit 6b1d2bc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
16 changes: 16 additions & 0 deletions cassandra-persistence/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>

<root level="info">
<appender-ref ref="STDOUT"/>
</root>

<logger name="com.datastax.driver.core" level="ERROR"/>
<logger name="io.netty" level="ERROR"/>
<logger name="org.cassandraunit" level="ERROR"/>

</configuration>
2 changes: 1 addition & 1 deletion es5-persistence/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=DEBUG, A1
log4j.rootLogger=INFO, A1

# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
Expand Down
2 changes: 1 addition & 1 deletion es6-persistence/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=DEBUG, A1
log4j.rootLogger=INFO, A1

# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
Expand Down
4 changes: 2 additions & 2 deletions mysql-persistence/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<appender-ref ref="STDOUT"/>
</root>

<logger name="com.netflix.conductor.dao.jdbc" level="TRACE"/>
<logger name="com.netflix.conductor.dao.mysql" level="DEBUG"/>
<logger name="com.netflix.conductor.dao.jdbc" level="INFO"/>
<logger name="com.netflix.conductor.dao.mysql" level="INFO"/>
<logger name="org.flywaydb" level="WARN"/>
<logger name="com.zaxxer.hikari" level="WARN"/>
<logger name="ch.vorburger" level="WARN"/>
Expand Down

0 comments on commit 6b1d2bc

Please sign in to comment.