[
https://issues.apache.org/jira/browse/HDFS-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14357338#comment-14357338
]
Benoy Antony commented on HDFS-5823:
------------------------------------
[~daryn]
Can't I achieve the same by configuring an AsyncAppender as below :
Do you see any downside in doing this ?
{code}
<appender class="org.apache.log4j.AsyncAppender" name="ASYNC_HDFS_AUDIT">
<param name="BufferSize" value="500"/>
<appender-ref ref="HDFS_AUDIT"/>
</appender>
<logger additivity="false"
name="org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit">
<level value="info"/>
<appender-ref ref="ASYNC_HDFS_AUDIT"/>
</logger>
{code}
> Document async audit logging
> ----------------------------
>
> Key: HDFS-5823
> URL: https://issues.apache.org/jira/browse/HDFS-5823
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Affects Versions: 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
>
> HDFS-5241 added an option for async log4j audit logging. The option is
> considered semi-experimental and should be documented in hdfs-defaults.xml
> after it's stability under stress is proven.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)