You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "nijel (JIRA)" <ji...@apache.org> on 2015/03/10 04:59:40 UTC
[jira] [Commented] (HADOOP-9874) hadoop.security.logger output goes
to both logs
[ https://issues.apache.org/jira/browse/HADOOP-9874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14354245#comment-14354245 ]
nijel commented on HADOOP-9874:
-------------------------------
Hi,
faced the same issue and solved by adding
{code}
log4j.additivity.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit = false
log4j.additivity.org.apache.hadoop.hdfs.server.common.HadoopAuditLogger.audit = false
{code}
can this be added in default log4j file ?
> hadoop.security.logger output goes to both logs
> -----------------------------------------------
>
> Key: HADOOP-9874
> URL: https://issues.apache.org/jira/browse/HADOOP-9874
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.1.0-beta
> Reporter: Allen Wittenauer
>
> Setting hadoop.security.logger (for SecurityLogger messages) to non-null sends authentication information to the other log as specified. However, that logging information also goes to the main log. It should only go to one log, not both.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)