bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject bookkeeper git commit: BOOKKEEPER-943: Reduce log level of AbstractZkLedgerManager
Date Wed, 11 Jan 2017 06:41:24 GMT
Repository: bookkeeper
Updated Branches:
  refs/heads/master 0fbb98b36 -> 43971c3b9


BOOKKEEPER-943: Reduce log level of AbstractZkLedgerManager

Just change from "info" to "debug"

Author: eolivelli <eolivelli@gmail.com>

Reviewers: Sijie Guo <sijie@apache.org>

Closes #98 from eolivelli/BOOKKEEPER-943-reduce-logs


Project: http://git-wip-us.apache.org/repos/asf/bookkeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/bookkeeper/commit/43971c3b
Tree: http://git-wip-us.apache.org/repos/asf/bookkeeper/tree/43971c3b
Diff: http://git-wip-us.apache.org/repos/asf/bookkeeper/diff/43971c3b

Branch: refs/heads/master
Commit: 43971c3b9e4a9ac37ee07b398ed5506e040f9310
Parents: 0fbb98b
Author: eolivelli <eolivelli@gmail.com>
Authored: Tue Jan 10 22:41:21 2017 -0800
Committer: Sijie Guo <sijie@apache.org>
Committed: Tue Jan 10 22:41:21 2017 -0800

----------------------------------------------------------------------
 .../java/org/apache/bookkeeper/meta/AbstractZkLedgerManager.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bookkeeper/blob/43971c3b/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/AbstractZkLedgerManager.java
----------------------------------------------------------------------
diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/AbstractZkLedgerManager.java
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/AbstractZkLedgerManager.java
index fbf38ad..fb4e8b5 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/AbstractZkLedgerManager.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/AbstractZkLedgerManager.java
@@ -299,7 +299,7 @@ abstract class AbstractZkLedgerManager implements LedgerManager, Watcher
{
     @Override
     public void registerLedgerMetadataListener(long ledgerId, LedgerMetadataListener listener)
{
         if (null != listener) {
-            LOG.info("Registered ledger metadata listener {} on ledger {}.", listener, ledgerId);
+            LOG.debug("Registered ledger metadata listener {} on ledger {}.", listener, ledgerId);
             Set<LedgerMetadataListener> listenerSet = listeners.get(ledgerId);
             if (listenerSet == null) {
                 Set<LedgerMetadataListener> newListenerSet = new HashSet<LedgerMetadataListener>();
@@ -323,7 +323,7 @@ abstract class AbstractZkLedgerManager implements LedgerManager, Watcher
{
         if (listenerSet != null) {
             synchronized (listenerSet) {
                 if (listenerSet.remove(listener)) {
-                    LOG.info("Unregistered ledger metadata listener {} on ledger {}.", listener,
ledgerId);
+                    LOG.debug("Unregistered ledger metadata listener {} on ledger {}.", listener,
ledgerId);
                 }
                 if (listenerSet.isEmpty()) {
                     listeners.remove(ledgerId, listenerSet);


Mime
View raw message