Skip to content

Commit

Permalink
[AMORO-3145] Filter out info log for CodecPool in optimizer (#3185)
Browse files Browse the repository at this point in the history
[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.

(cherry picked from commit b52f64d)
Signed-off-by: zhoujinsong <zhoujinsong0505@163.com>
  • Loading branch information
klion26 authored and zhoujinsong committed Oct 11, 2024
1 parent 5200a86 commit dd47342
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions amoro-ams/dist/src/main/amoro-bin/conf/optimize/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit dd47342

Please sign in to comment.