Skip to content

Commit

Permalink
Disable Oracle JDBC driver logging
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Nov 8, 2024
1 parent 60e0df1 commit d4546f7
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import io.airlift.log.Level;
import io.airlift.log.Logger;
import io.airlift.log.Logging;
import io.trino.plugin.tpch.TpchPlugin;
import io.trino.testing.DistributedQueryRunner;
import io.trino.testing.QueryRunner;
Expand All @@ -37,6 +39,11 @@

public final class OracleQueryRunner
{
static {
Logging logging = Logging.initialize();
logging.setLevel("oracle.jdbc", Level.OFF);
}

private OracleQueryRunner() {}

public static Builder builder(TestingOracleServer server)
Expand Down

0 comments on commit d4546f7

Please sign in to comment.