From faaedf485dbca70cc82a0a6aef405f107986802c Mon Sep 17 00:00:00 2001 From: Brian O'Connor Date: Mon, 17 Nov 2014 14:48:48 -0800 Subject: [PATCH] Changing log level from warn to debug in Stats Store. Change-Id: I7651427d317813775a2c729682001fb888b45f1c Note: Optical flows don't have stats. --- .../onos/store/statistic/impl/DistributedStatisticStore.java | 2 +- .../org/onlab/onos/store/trivial/impl/SimpleStatisticStore.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/store/dist/src/main/java/org/onlab/onos/store/statistic/impl/DistributedStatisticStore.java b/core/store/dist/src/main/java/org/onlab/onos/store/statistic/impl/DistributedStatisticStore.java index a7a3a02f86..cc432a09b7 100644 --- a/core/store/dist/src/main/java/org/onlab/onos/store/statistic/impl/DistributedStatisticStore.java +++ b/core/store/dist/src/main/java/org/onlab/onos/store/statistic/impl/DistributedStatisticStore.java @@ -275,7 +275,7 @@ public class DistributedStatisticStore implements StatisticStore { private ConnectPoint buildConnectPoint(FlowRule rule) { PortNumber port = getOutput(rule); if (port == null) { - log.warn("Rule {} has no output.", rule); + log.debug("Rule {} has no output.", rule); return null; } ConnectPoint cp = new ConnectPoint(rule.deviceId(), port); diff --git a/core/store/trivial/src/main/java/org/onlab/onos/store/trivial/impl/SimpleStatisticStore.java b/core/store/trivial/src/main/java/org/onlab/onos/store/trivial/impl/SimpleStatisticStore.java index 0d4da5c9dc..16577e8ea1 100644 --- a/core/store/trivial/src/main/java/org/onlab/onos/store/trivial/impl/SimpleStatisticStore.java +++ b/core/store/trivial/src/main/java/org/onlab/onos/store/trivial/impl/SimpleStatisticStore.java @@ -154,7 +154,7 @@ public class SimpleStatisticStore implements StatisticStore { private ConnectPoint buildConnectPoint(FlowRule rule) { PortNumber port = getOutput(rule); if (port == null) { - log.warn("Rule {} has no output.", rule); + log.debug("Rule {} has no output.", rule); return null; } ConnectPoint cp = new ConnectPoint(rule.deviceId(), port);