You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Max Xie (Jira)" <ji...@apache.org> on 2020/12/09 03:47:00 UTC
[jira] [Created] (HDFS-15720) namenode audit async logger should
add some log4j config
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org