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.
  • Loading branch information
klion26 authored Sep 10, 2024
1 parent bc2e33e commit b52f64d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 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 b52f64d

Please sign in to comment.