You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by tm...@apache.org on 2019/08/11 19:19:04 UTC

[sling-org-apache-sling-distribution-journal] branch master updated: SLING-8620 - Journal Distribution discovery service should log topology changes at INFO level (#11)

This is an automated email from the ASF dual-hosted git repository.

tmaret pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal.git


The following commit(s) were added to refs/heads/master by this push:
     new b4e8441  SLING-8620 - Journal Distribution discovery service should log topology changes at INFO level (#11)
b4e8441 is described below

commit b4e844152b58cd8c53816225226782dc8b971ebb
Author: Timothee Maret <tm...@apache.org>
AuthorDate: Sun Aug 11 21:19:00 2019 +0200

    SLING-8620 - Journal Distribution discovery service should log topology changes at INFO level (#11)
---
 .../sling/distribution/journal/impl/publisher/DiscoveryService.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/distribution/journal/impl/publisher/DiscoveryService.java b/src/main/java/org/apache/sling/distribution/journal/impl/publisher/DiscoveryService.java
index 9108497..af052a3 100644
--- a/src/main/java/org/apache/sling/distribution/journal/impl/publisher/DiscoveryService.java
+++ b/src/main/java/org/apache/sling/distribution/journal/impl/publisher/DiscoveryService.java
@@ -124,7 +124,7 @@ public class DiscoveryService implements Runnable {
         TopologyView oldView = viewManager.updateView();
         TopologyView newView = viewManager.getCurrentView();
         if (! newView.equals(oldView)) {
-            LOG.debug(String.format("TopologyView changed from %s to %s", oldView, newView));
+            LOG.info("TopologyView changed from {} to {}", oldView, newView);
             topologyChangeHandler.changed(oldView, newView);
         }
     }