Repository: hbase Updated Branches: refs/heads/branch-1 324915508 -> 07e63c837 refs/heads/master eabfa39b2 -> be1cdc737
HBASE-16188 Add EventCounter information to log4j properties file (Gopi Krishnan Nambiar) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/07e63c83 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/07e63c83 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/07e63c83 Branch: refs/heads/branch-1 Commit: 07e63c837b54c6c5908932c11203d1531f44f9a9 Parents: 3249155 Author: Andrew Purtell <apurt...@apache.org> Authored: Mon Feb 27 15:55:32 2017 -0800 Committer: Andrew Purtell <apurt...@apache.org> Committed: Mon Feb 27 15:55:32 2017 -0800 ---------------------------------------------------------------------- conf/log4j.properties | 5 +++++ .../hbase-client-project/src/main/resources/log4j.properties | 5 +++++ .../src/main/resources/log4j.properties | 5 +++++ 3 files changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/07e63c83/conf/log4j.properties ---------------------------------------------------------------------- diff --git a/conf/log4j.properties b/conf/log4j.properties index e527c9b..61f49d8 100644 --- a/conf/log4j.properties +++ b/conf/log4j.properties @@ -111,3 +111,8 @@ log4j.logger.org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher=INFO # and scan of hbase:meta messages # log4j.logger.org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation=INFO # log4j.logger.org.apache.hadoop.hbase.client.MetaScanner=INFO + +# EventCounter +# Add "EventCounter" to rootlogger if you want to use this +# Uncomment the line below to add EventCounter information +# log4j.appender.EventCounter=org.apache.hadoop.log.metrics.EventCounter http://git-wip-us.apache.org/repos/asf/hbase/blob/07e63c83/hbase-archetypes/hbase-client-project/src/main/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/hbase-archetypes/hbase-client-project/src/main/resources/log4j.properties b/hbase-archetypes/hbase-client-project/src/main/resources/log4j.properties index d7c4552..2475ea0 100644 --- a/hbase-archetypes/hbase-client-project/src/main/resources/log4j.properties +++ b/hbase-archetypes/hbase-client-project/src/main/resources/log4j.properties @@ -109,3 +109,8 @@ log4j.logger.org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher=INFO # and scan of hbase:meta messages # log4j.logger.org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation=INFO # log4j.logger.org.apache.hadoop.hbase.client.MetaScanner=INFO + +# EventCounter +# Add "EventCounter" to rootlogger if you want to use this +# Uncomment the line below to add EventCounter information +# log4j.appender.EventCounter=org.apache.hadoop.log.metrics.EventCounter http://git-wip-us.apache.org/repos/asf/hbase/blob/07e63c83/hbase-archetypes/hbase-shaded-client-project/src/main/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/hbase-archetypes/hbase-shaded-client-project/src/main/resources/log4j.properties b/hbase-archetypes/hbase-shaded-client-project/src/main/resources/log4j.properties index d7c4552..2475ea0 100644 --- a/hbase-archetypes/hbase-shaded-client-project/src/main/resources/log4j.properties +++ b/hbase-archetypes/hbase-shaded-client-project/src/main/resources/log4j.properties @@ -109,3 +109,8 @@ log4j.logger.org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher=INFO # and scan of hbase:meta messages # log4j.logger.org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation=INFO # log4j.logger.org.apache.hadoop.hbase.client.MetaScanner=INFO + +# EventCounter +# Add "EventCounter" to rootlogger if you want to use this +# Uncomment the line below to add EventCounter information +# log4j.appender.EventCounter=org.apache.hadoop.log.metrics.EventCounter