Browse Source

HDFS-9623. Update example configuration of block state change log in log4j.properties. Contributed by Masatake Iwasaki.

Akira Ajisaka 9 năm trước cách đây
mục cha
commit
92c5f565fd

+ 2 - 2
hadoop-common-project/hadoop-common/src/main/conf/log4j.properties

@@ -98,9 +98,9 @@ log4j.appender.TLA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
 #
 # HDFS block state change log from block manager
 #
-# Uncomment the following to suppress normal block state change
+# Uncomment the following to log normal block state change
 # messages from BlockManager in NameNode.
-#log4j.logger.BlockStateChange=WARN
+#log4j.logger.BlockStateChange=DEBUG
 
 #
 #Security appender

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -2596,6 +2596,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-9612. DistCp worker threads are not terminated after jobs are done.
     (Wei-Chiu Chuang via Yongjun Zhang)
 
+    HDFS-9623. Update example configuration of block state change log in
+    log4j.properties. (Masatake Iwasaki via aajisaka)
+
 Release 2.7.3 - UNRELEASED
 
   INCOMPATIBLE CHANGES