diff --git a/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java b/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java
index df29c74..5b6b07e 100644
--- a/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java
+++ b/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java
@@ -1040,7 +1040,7 @@
 
         @Override
         public void run() {
-            log.info("RETRY FILTER ATTEMPT {} ** dev:{}", ++counter, devId);
+            log.debug("RETRY FILTER ATTEMPT {} ** dev:{}", ++counter, devId);
             PortFilterInfo thisRun = rulePopulator.populateVlanMacFilters(devId);
             boolean sameResult = prevRun.equals(thisRun);
             log.debug("dev:{} prevRun:{} thisRun:{} sameResult:{}", devId, prevRun,
diff --git a/src/main/java/org/onosproject/segmentrouting/RoutingRulePopulator.java b/src/main/java/org/onosproject/segmentrouting/RoutingRulePopulator.java
index ca24e00..a9baf5c 100644
--- a/src/main/java/org/onosproject/segmentrouting/RoutingRulePopulator.java
+++ b/src/main/java/org/onosproject/segmentrouting/RoutingRulePopulator.java
@@ -670,7 +670,7 @@
                 errorPorts++;
             }
         }
-        log.info("Filtering on dev:{}, disabledPorts:{}, errorPorts:{}, filteredPorts:{}",
+        log.debug("Filtering on dev:{}, disabledPorts:{}, errorPorts:{}, filteredPorts:{}",
                   deviceId, disabledPorts, errorPorts, filteredPorts);
         return srManager.defaultRoutingHandler.new PortFilterInfo(disabledPorts,
                                                        errorPorts, filteredPorts);
diff --git a/src/main/java/org/onosproject/segmentrouting/grouphandler/DefaultGroupHandler.java b/src/main/java/org/onosproject/segmentrouting/grouphandler/DefaultGroupHandler.java
index 0575fd3..bb83da6 100644
--- a/src/main/java/org/onosproject/segmentrouting/grouphandler/DefaultGroupHandler.java
+++ b/src/main/java/org/onosproject/segmentrouting/grouphandler/DefaultGroupHandler.java
@@ -1041,7 +1041,7 @@
 
         @Override
         public void run() {
-            log.info("RETRY Hash buckets for linkup: {}", link);
+            log.debug("RETRY Hash buckets for linkup: {}", link);
             Set<NeighborSet> nsSet = nsNextObjStore.keySet()
                     .stream()
                     .filter(nsStoreEntry -> nsStoreEntry.deviceId().equals(deviceId))
