Skip to content

Commit

Permalink
fix: Verbose logging in test module (#1852)
Browse files Browse the repository at this point in the history
* Added logback configuratio

* Reverse order for consistency with existing log4j2.xml

---------

Co-authored-by: Jocelyne <[email protected]>
  • Loading branch information
Hakky54 and joc-a authored Sep 5, 2023
1 parent f3a295a commit a0ab662
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions exposed-tests/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date{HH:mm:ss.SSS} %level %thread %logger{0}:%method:%line - %message %n</pattern>
</encoder>
</appender>
<appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="CONSOLE"/>
<includeCallerData>true</includeCallerData>
</appender>

<root level="INFO">
<appender-ref ref="ASYNC" />
</root>
<logger name="Exposed" level="INFO" additivity="false">
<appender-ref ref="ASYNC"/>
</logger>
</configuration>

<!-- 19:57:29.845 DEBUG Test worker Exposed - DROP TABLE jointable -->

0 comments on commit a0ab662

Please sign in to comment.