|
@@ -1,9 +1,12 @@
|
|
|
-# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
-# contributor license agreements. See the NOTICE file distributed with
|
|
|
-# this work for additional information regarding copyright ownership.
|
|
|
-# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
-# (the "License"); you may not use this file except in compliance with
|
|
|
-# the License. You may obtain a copy of the License at
|
|
|
+# Copyright 2011 The Apache Software Foundation
|
|
|
+#
|
|
|
+# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
+# or more contributor license agreements. See the NOTICE file
|
|
|
+# distributed with this work for additional information
|
|
|
+# regarding copyright ownership. The ASF licenses this file
|
|
|
+# to you under the Apache License, Version 2.0 (the
|
|
|
+# "License"); you may not use this file except in compliance
|
|
|
+# with the License. You may obtain a copy of the License at
|
|
|
#
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
#
|
|
@@ -99,7 +102,7 @@ log4j.appender.TLA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
|
|
|
#
|
|
|
#Security appender
|
|
|
#
|
|
|
-hadoop.security.logger=INFO,console
|
|
|
+hadoop.security.logger=INFO,NullAppender
|
|
|
hadoop.security.log.maxfilesize=256MB
|
|
|
hadoop.security.log.maxbackupindex=20
|
|
|
log4j.category.SecurityLogger=${hadoop.security.logger}
|
|
@@ -123,7 +126,7 @@ log4j.appender.DRFAS.DatePattern=.yyyy-MM-dd
|
|
|
#
|
|
|
# hdfs audit logging
|
|
|
#
|
|
|
-hdfs.audit.logger=INFO,console
|
|
|
+hdfs.audit.logger=INFO,NullAppender
|
|
|
hdfs.audit.log.maxfilesize=256MB
|
|
|
hdfs.audit.log.maxbackupindex=20
|
|
|
log4j.logger.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit=${hdfs.audit.logger}
|
|
@@ -138,7 +141,7 @@ log4j.appender.RFAAUDIT.MaxBackupIndex=${hdfs.audit.log.maxbackupindex}
|
|
|
#
|
|
|
# mapred audit logging
|
|
|
#
|
|
|
-mapred.audit.logger=INFO,console
|
|
|
+mapred.audit.logger=INFO,NullAppender
|
|
|
mapred.audit.log.maxfilesize=256MB
|
|
|
mapred.audit.log.maxbackupindex=20
|
|
|
log4j.logger.org.apache.hadoop.mapred.AuditLogger=${mapred.audit.logger}
|