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

zuston pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git


The following commit(s) were added to refs/heads/master by this push:
     new c141ca3a5 [#1435] improvement: Improve log4j settings to avoid 
annoying messages (#1436)
c141ca3a5 is described below

commit c141ca3a5ca1c5adbbe360e212adb73435f340da
Author: RickyMa <[email protected]>
AuthorDate: Fri Jan 12 10:25:18 2024 +0800

    [#1435] improvement: Improve log4j settings to avoid annoying messages 
(#1436)
    
    ### What changes were proposed in this pull request?
    
    Improve the log4j settings to avoid annoying messages, by adding separate 
loggers in the log4j.properties file.
    
    ### Why are the changes needed?
    
    For [#1435](https://github.com/apache/incubator-uniffle/issues/1435)
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    By running the process successfully and check the log4j output.
---
 conf/log4j.properties | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/conf/log4j.properties b/conf/log4j.properties
index 315bd567d..6b7b39d4b 100644
--- a/conf/log4j.properties
+++ b/conf/log4j.properties
@@ -26,4 +26,8 @@ log4j.appender.RollingAppender.File=${log.path}
 log4j.appender.RollingAppender.MaxFileSize=2GB
 log4j.appender.RollingAppender.MaxBackupIndex=10
 log4j.appender.RollingAppender.layout=org.apache.log4j.PatternLayout
-log4j.appender.RollingAppender.layout.ConversionPattern=[%d{yyyy-MM-dd 
HH:mm:ss.SSS}] [%t] [%p] %c{1}.%M - %m%n
\ No newline at end of file
+log4j.appender.RollingAppender.layout.ConversionPattern=[%d{yyyy-MM-dd 
HH:mm:ss.SSS}] [%t] [%p] %c{1}.%M - %m%n
+
+log4j.logger.io.grpc.netty.shaded.io.grpc.netty=INFO
+log4j.logger.org.apache.hadoop=INFO
+log4j.logger.org.eclipse.jetty=INFO
\ No newline at end of file

Reply via email to