This is an automated email from the ASF dual-hosted git repository.
yumwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new a12c074381b [SPARK-40544][SQL][TESTS] Restore the file appender log
level threshold of the hive UTs to info
a12c074381b is described below
commit a12c074381b84a213c739dead2a119ac3a44e030
Author: yangjie01 <[email protected]>
AuthorDate: Sat Sep 24 23:26:45 2022 +0800
[SPARK-40544][SQL][TESTS] Restore the file appender log level threshold of
the hive UTs to info
### What changes were proposed in this pull request?
This pr restore the file appender log level threshold of the hive UTs from
debug to info
### Why are the changes needed?
Reduce the disk space occupied by `sql/hive/target/unit-tests.log`. After
this pr, the file size reduced from 12G to 119M
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Pass GitHub Actions
Closes #37976 from LuciferYang/hive-test-loglevel.
Authored-by: yangjie01 <[email protected]>
Signed-off-by: Yuming Wang <[email protected]>
---
sql/hive/src/test/resources/log4j2.properties | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sql/hive/src/test/resources/log4j2.properties
b/sql/hive/src/test/resources/log4j2.properties
index cf9be6c68a5..454b6905b45 100644
--- a/sql/hive/src/test/resources/log4j2.properties
+++ b/sql/hive/src/test/resources/log4j2.properties
@@ -36,9 +36,9 @@ appender.file.fileName = target/unit-tests.log
appender.file.layout.type = PatternLayout
appender.file.layout.pattern = %d{HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex
-# Set the logger level of File Appender to WARN
+# Set the logger level of File Appender to INFO
appender.file.filter.threshold.type = ThresholdFilter
-appender.file.filter.threshold.level = debug
+appender.file.filter.threshold.level = info
# Some packages are noisy for no good reason.
logger.parquet_recordreader.name =
org.apache.parquet.hadoop.ParquetRecordReader
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]