You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amoro.apache.org by cz...@apache.org on 2024/09/10 07:18:23 UTC

(amoro) branch master updated: [AMORO-3145] Filter out info log for CodecPool in optimizer (#3185)

This is an automated email from the ASF dual-hosted git repository.

czy006 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git


The following commit(s) were added to refs/heads/master by this push:
     new b52f64d77 [AMORO-3145] Filter out info log for CodecPool in optimizer  (#3185)
b52f64d77 is described below

commit b52f64d7784441dd2496bae6844cfe55a3403088
Author: Congxian Qiu <qc...@gmail.com>
AuthorDate: Tue Sep 10 15:18:19 2024 +0800

    [AMORO-3145] Filter out info log for CodecPool in optimizer  (#3185)
    
    [AMORO-3145] Filter out info log for CodecPool
    
    Currently there will be many logs for (de)compressor from CodecPool, and
    seems there is no other meaningful info log from this class, so we change
     the log level from CodecPool from info to warn to filter out these logs
    
    This only affect the local optimizer, and user need to change the configuration
    if they use flink/spark optimzier.
---
 dist/src/main/amoro-bin/conf/optimize/log4j2.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dist/src/main/amoro-bin/conf/optimize/log4j2.xml b/dist/src/main/amoro-bin/conf/optimize/log4j2.xml
index 6e4b9a13d..8ce176996 100644
--- a/dist/src/main/amoro-bin/conf/optimize/log4j2.xml
+++ b/dist/src/main/amoro-bin/conf/optimize/log4j2.xml
@@ -101,6 +101,7 @@
             <!-- SET CONSOLE_LOG_LEVEL=info to print console logger in docker -->
             <AppenderRef ref="consoleAppender" level="${CONSOLE_LEVEL}" />
         </Root>
+        <logger name="org.apache.hadoop.io.compress.CodecPool" level="warn" additivity="false" />
     </Loggers>
 
 </Configuration>