Skip to content

Commit 789b0f3

Browse files
committed
Initialize logs for Product Tests
Revert?
1 parent e2cda4f commit 789b0f3

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

tempto-core/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@
6767
<artifactId>commons-io</artifactId>
6868
</dependency>
6969

70+
<dependency>
71+
<groupId>io.airlift</groupId>
72+
<artifactId>log-manager</artifactId>
73+
<version>275</version>
74+
<exclusions>
75+
<exclusion>
76+
<groupId>org.slf4j</groupId>
77+
<artifactId>log4j-over-slf4j</artifactId>
78+
</exclusion>
79+
</exclusions>
80+
</dependency>
81+
7082
<dependency>
7183
<groupId>io.trino.hive</groupId>
7284
<artifactId>hive-apache</artifactId>

tempto-core/src/main/java/io/trino/tempto/internal/listeners/ProgressLoggingListenerJUnit.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
package io.trino.tempto.internal.listeners;
1616

17+
import io.airlift.log.Logging;
1718
import org.junit.jupiter.api.extension.AfterAllCallback;
1819
import org.junit.jupiter.api.extension.AfterEachCallback;
1920
import org.junit.jupiter.api.extension.BeforeAllCallback;
@@ -33,6 +34,10 @@ public class ProgressLoggingListenerJUnit
3334
{
3435
private final static Logger LOGGER = LoggerFactory.getLogger(ProgressLoggingListenerJUnit.class);
3536

37+
static {
38+
Logging.initialize();
39+
}
40+
3641
private int started;
3742
private int succeeded;
3843
private int failed;

0 commit comments

Comments
 (0)