Skip to content

Commit

Permalink
Initialize logs for Product Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ssheikin committed Nov 15, 2024
1 parent e2cda4f commit 982a042
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tempto-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@
<artifactId>commons-io</artifactId>
</dependency>

<dependency>
<groupId>io.airlift</groupId>
<artifactId>log-manager</artifactId>
<version>284</version>
</dependency>

<dependency>
<groupId>io.trino.hive</groupId>
<artifactId>hive-apache</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Ordering;
import com.google.inject.Module;
import io.airlift.log.Logging;
import io.trino.tempto.TemptoPlugin;
import io.trino.tempto.configuration.Configuration;
import io.trino.tempto.context.TestContext;
Expand Down Expand Up @@ -50,6 +51,10 @@ public class TestInitializationListenerJUnit
{
private static final Logger LOGGER = getLogger(TestInitializationListenerJUnit.class);

static {
Logging.initialize();
}

private final List<? extends SuiteModuleProvider> suiteModuleProviders;

private final Configuration configuration;
Expand Down

0 comments on commit 982a042

Please sign in to comment.