Skip to content

Commit 5580cb9

Browse files
committed
Added logging for tests
1 parent 914dccd commit 5580cb9

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

liquibase-dialect/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@
7373
<version>5.10.1</version>
7474
<scope>test</scope>
7575
</dependency>
76+
<dependency>
77+
<groupId>org.slf4j</groupId>
78+
<artifactId>slf4j-jdk14</artifactId>
79+
<version>1.7.36</version>
80+
<scope>test</scope>
81+
</dependency>
7682
</dependencies>
7783

7884
<build>
@@ -115,6 +121,9 @@
115121
<TESTCONTAINERS_REUSE_ENABLE>true</TESTCONTAINERS_REUSE_ENABLE>
116122
<YDB_DOCKER_IMAGE>cr.yandex/yc/yandex-docker-local-ydb:trunk</YDB_DOCKER_IMAGE>
117123
</environmentVariables>
124+
<systemPropertyVariables>
125+
<java.util.logging.config.file>src/test/resources/logging.properties</java.util.logging.config.file>
126+
</systemPropertyVariables>
118127
</configuration>
119128
</plugin>
120129
</plugins>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
handlers= java.util.logging.ConsoleHandler
2+
.level=DEBUG
3+
java.util.logging.ConsoleHandler.level = ALL
4+
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
5+
java.util.logging.SimpleFormatter.format= %1$tF %1$tT [%4$s] %3$s %5$s %n
6+
7+
tech.ydb.jdbc.level=ALL
8+
#tech.ydb.level=FINEST

0 commit comments

Comments
 (0)