HDFS-9009. Send metrics logs to NullAppender by default. (Arpit Agarwal)
This commit is contained in:
parent
538a4ddc7e
commit
e1842ce678
|
@ -152,7 +152,8 @@ log4j.appender.RFAAUDIT.MaxBackupIndex=${hdfs.audit.log.maxbackupindex}
|
|||
# NameNode metrics logging.
|
||||
# The default is to retain two namenode-metrics.log files up to 64MB each.
|
||||
#
|
||||
log4j.logger.NameNodeMetricsLog=INFO,NNMETRICSRFA
|
||||
namenode.metrics.logger=INFO,NullAppender
|
||||
log4j.logger.NameNodeMetricsLog=${namenode.metrics.logger}
|
||||
log4j.additivity.NameNodeMetricsLog=false
|
||||
log4j.appender.NNMETRICSRFA=org.apache.log4j.RollingFileAppender
|
||||
log4j.appender.NNMETRICSRFA.File=${hadoop.log.dir}/namenode-metrics.log
|
||||
|
|
|
@ -943,6 +943,8 @@ Release 2.8.0 - UNRELEASED
|
|||
HDFS-8885. ByteRangeInputStream used in webhdfs does not override
|
||||
available(). (Shradha Revankar via aajisaka)
|
||||
|
||||
HDFS-9009. Send metrics logs to NullAppender by default. (Arpit Agarwal)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
Loading…
Reference in New Issue