YARN-6360. Prevent FS state dump logger from cramming other log files
(Contributed by Yufei Gu via Daniel Templeton)
This commit is contained in:
parent
0e556a5ba6
commit
d49d1862a6
@ -324,6 +324,7 @@ log4j.appender.EWMA.maxUniqueMessages=${yarn.ewma.maxUniqueMessages}
|
|||||||
|
|
||||||
# Fair scheduler requests log on state dump
|
# Fair scheduler requests log on state dump
|
||||||
log4j.logger.org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.statedump=DEBUG,FSLOGGER
|
log4j.logger.org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.statedump=DEBUG,FSLOGGER
|
||||||
|
log4j.additivity.org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.statedump=false
|
||||||
log4j.appender.FSLOGGER=org.apache.log4j.RollingFileAppender
|
log4j.appender.FSLOGGER=org.apache.log4j.RollingFileAppender
|
||||||
log4j.appender.FSLOGGER.File=${hadoop.log.dir}/fairscheduler-statedump.log
|
log4j.appender.FSLOGGER.File=${hadoop.log.dir}/fairscheduler-statedump.log
|
||||||
log4j.appender.FSLOGGER.layout=org.apache.log4j.PatternLayout
|
log4j.appender.FSLOGGER.layout=org.apache.log4j.PatternLayout
|
||||||
|
Loading…
Reference in New Issue
Block a user