Max  Xie created HDFS-15720:
-------------------------------

             Summary: namenode audit async logger should add some log4j config
                 Key: HDFS-15720
                 URL: https://issues.apache.org/jira/browse/HDFS-15720
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: hdfs
    Affects Versions: 3.3.0
         Environment: hadoop 3.3.0
            Reporter: Max  Xie


Hadoop project use log4j 1.2.x, we can't config some properties of logger in 
log4j.properties file , For example, AsyncAppender BufferSize and Blocking see 
https://logging.apache.org/log4j/1.2/apidocs/index.html.

Namenode  should add some audit async logger log4j config In order to 
facilitate the adjustment of log4j usage and audit log output performance 
adjustment. 

The new configuration is as follows

dfs.namenode.audit.log.async.blocking false

dfs.namenode.audit.log.async.buffer.size 128

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to