diff --git a/arrow-data-source/pom.xml b/arrow-data-source/pom.xml
index 68ecb248d..1077675c7 100644
--- a/arrow-data-source/pom.xml
+++ b/arrow-data-source/pom.xml
@@ -92,6 +92,14 @@
org.apache.arrow
arrow-format
+
+ org.slf4j
+ slf4j-log4j12
+
+
+ log4j
+ log4j
+
provided
diff --git a/native-sql-engine/core/pom.xml b/native-sql-engine/core/pom.xml
index c346edde6..f9663eeb7 100644
--- a/native-sql-engine/core/pom.xml
+++ b/native-sql-engine/core/pom.xml
@@ -55,6 +55,16 @@
spark-core_${scala.binary.version}
${spark.version}
provided
+
+
+ org.slf4j
+ slf4j-log4j12
+
+
+ log4j
+ log4j
+
+
org.apache.spark