diff --git a/plugin-trino/pom.xml b/plugin-trino/pom.xml index e264eba764..f85296335e 100644 --- a/plugin-trino/pom.xml +++ b/plugin-trino/pom.xml @@ -37,6 +37,11 @@ trino-spi ${trino.version} + + io.airlift + log + ${trino.airlift.version} + io.trino trino-jdbc diff --git a/plugin-trino/src/main/java/org/apache/ranger/authorization/trino/authorizer/RangerSystemAccessControl.java b/plugin-trino/src/main/java/org/apache/ranger/authorization/trino/authorizer/RangerSystemAccessControl.java index d2262fbafb..4b4e00b8f8 100644 --- a/plugin-trino/src/main/java/org/apache/ranger/authorization/trino/authorizer/RangerSystemAccessControl.java +++ b/plugin-trino/src/main/java/org/apache/ranger/authorization/trino/authorizer/RangerSystemAccessControl.java @@ -41,8 +41,7 @@ import org.apache.ranger.plugin.policyengine.RangerAccessResourceImpl; import org.apache.ranger.plugin.policyengine.RangerAccessResult; import org.apache.ranger.plugin.service.RangerBasePlugin; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +import io.airlift.log.Logger; import java.io.IOException; import java.net.URL; @@ -62,7 +61,7 @@ public class RangerSystemAccessControl implements SystemAccessControl { - private static Logger LOG = LoggerFactory.getLogger(RangerSystemAccessControl.class); + private static final Logger LOG = Logger.get(RangerSystemAccessControl.class); final public static String RANGER_CONFIG_KEYTAB = "ranger.keytab"; final public static String RANGER_CONFIG_PRINCIPAL = "ranger.principal"; diff --git a/pom.xml b/pom.xml index 3f499339c6..d3c06809f4 100644 --- a/pom.xml +++ b/pom.xml @@ -207,7 +207,7 @@ 1.1 - 0.192 + 208 2.0.0 4.2.2 26.0-jre