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 8cce517be [#2044] improvement: Remove console from log4j2.xml (#2045)
8cce517be is described below

commit 8cce517beffca3a2f5b72a9ea4f7e876a23def46
Author: zhengchenyu <zhengcheny...@163.com>
AuthorDate: Mon Aug 19 11:13:41 2024 +0800

    [#2044] improvement: Remove console from log4j2.xml (#2045)
    
    ### What changes were proposed in this pull request?
    
    remove console from log4j2.xml
    
    ### Why are the changes needed?
    
    Fix: #2044
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    test in physical machine
---
 conf/log4j2.xml                                        | 4 ----
 deploy/kubernetes/operator/examples/configuration.yaml | 4 ----
 dev/local_dev_template/log4j2.xml                      | 4 ----
 3 files changed, 12 deletions(-)

diff --git a/conf/log4j2.xml b/conf/log4j2.xml
index 9c062a429..3bbbb466b 100644
--- a/conf/log4j2.xml
+++ b/conf/log4j2.xml
@@ -51,19 +51,15 @@
   </Appenders>
   <Loggers>
     <Root level="info">
-      <AppenderRef ref="console"/>
       <AppenderRef ref="RollingAppender"/>
     </Root>
     <Logger name="io.grpc.netty.shaded.io.grpc.netty" level="info" 
additivity="false">
-      <AppenderRef ref="console"/>
       <AppenderRef ref="RollingAppender"/>
     </Logger>
     <Logger name="org.apache.hadoop" level="info" additivity="false">
-      <AppenderRef ref="console"/>
       <AppenderRef ref="RollingAppender"/>
     </Logger>
     <Logger name="org.eclipse.jetty" level="info" additivity="false">
-      <AppenderRef ref="console"/>
       <AppenderRef ref="RollingAppender"/>
     </Logger>
     <Logger name="SHUFFLE_SERVER_STORAGE_AUDIT_LOG" level="INFO" 
additivity="false">
diff --git a/deploy/kubernetes/operator/examples/configuration.yaml 
b/deploy/kubernetes/operator/examples/configuration.yaml
index e18fa6264..7238cd2bd 100644
--- a/deploy/kubernetes/operator/examples/configuration.yaml
+++ b/deploy/kubernetes/operator/examples/configuration.yaml
@@ -45,19 +45,15 @@ data:
         </Appenders>
         <Loggers>
             <Root level="info">
-                <AppenderRef ref="console"/>
                 <AppenderRef ref="RollingAppender"/>
             </Root>
             <Logger name="io.grpc.netty.shaded.io.grpc.netty" level="info" 
additivity="false">
-                <AppenderRef ref="console"/>
                 <AppenderRef ref="RollingAppender"/>
             </Logger>
             <Logger name="org.apache.hadoop" level="info" additivity="false">
-                <AppenderRef ref="console"/>
                 <AppenderRef ref="RollingAppender"/>
             </Logger>
             <Logger name="org.eclipse.jetty" level="info" additivity="false">
-                <AppenderRef ref="console"/>
                 <AppenderRef ref="RollingAppender"/>
             </Logger>
         </Loggers>
diff --git a/dev/local_dev_template/log4j2.xml 
b/dev/local_dev_template/log4j2.xml
index 9c062a429..95830d65d 100644
--- a/dev/local_dev_template/log4j2.xml
+++ b/dev/local_dev_template/log4j2.xml
@@ -52,19 +52,15 @@
   <Loggers>
     <Root level="info">
       <AppenderRef ref="console"/>
-      <AppenderRef ref="RollingAppender"/>
     </Root>
     <Logger name="io.grpc.netty.shaded.io.grpc.netty" level="info" 
additivity="false">
       <AppenderRef ref="console"/>
-      <AppenderRef ref="RollingAppender"/>
     </Logger>
     <Logger name="org.apache.hadoop" level="info" additivity="false">
       <AppenderRef ref="console"/>
-      <AppenderRef ref="RollingAppender"/>
     </Logger>
     <Logger name="org.eclipse.jetty" level="info" additivity="false">
       <AppenderRef ref="console"/>
-      <AppenderRef ref="RollingAppender"/>
     </Logger>
     <Logger name="SHUFFLE_SERVER_STORAGE_AUDIT_LOG" level="INFO" 
additivity="false">
       <AppenderRef ref="shuffleServerStorageAuditAppender"/>

Reply via email to