Skip to content

Commit 4030622

Browse files
committed
Reduce log level for kafka and spark streaming
1 parent 22be40d commit 4030622

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

caraml-store-spark/src/main/resources/log4j.properties

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,12 @@ log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{1}:
88

99
# SPARK-9183: Settings to avoid annoying messages when looking up nonexistent UDFs in SparkSQL with Hive support
1010
log4j.logger.org.apache.hadoop.hive.metastore.RetryingHMSHandler=FATAL
11-
log4j.logger.org.apache.hadoop.hive.ql.exec.FunctionRegistry=ERROR
11+
log4j.logger.org.apache.hadoop.hive.ql.exec.FunctionRegistry=ERROR
12+
13+
# Reduce log level for Kafka-related logs
14+
log4j.logger.org.apache.kafka=WARN
15+
log4j.logger.kafka=WARN
16+
17+
18+
# Reduce log level for MicroBatchExecution logs
19+
log4j.logger.org.apache.spark.sql.streaming.MicroBatchExecution=WARN

0 commit comments

Comments
 (0)