From 92f2f20ea21e4e92d6407cd687d7dc34854e330a Mon Sep 17 00:00:00 2001 From: Tom Pantelis Date: Fri, 29 Jul 2016 15:37:35 -0400 Subject: [PATCH] Reduce missing feature warning to debug Many warn messages are emmitted for the "startup" feature: Feature: startup, 0.0.0 is missing from features service. Skipping It seems this is an internal karaf feature and can't be retrieved. This warning has been seen for other system features in the past. Since the FeatureConfigPusher is only interested in ODL bundles for the purpose of pushing CSS modules and since this warning has always been benign, I reduced the log to debug to avoid the many warnings on startup. Change-Id: Iad00acccfd0eabd55acb02493e689879e29646f0 Signed-off-by: Tom Pantelis --- .../configpusherfeature/internal/FeatureConfigPusher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/config/config-persister-feature-adapter/src/main/java/org/opendaylight/controller/configpusherfeature/internal/FeatureConfigPusher.java b/opendaylight/config/config-persister-feature-adapter/src/main/java/org/opendaylight/controller/configpusherfeature/internal/FeatureConfigPusher.java index 2e24fa9013..0d30545641 100644 --- a/opendaylight/config/config-persister-feature-adapter/src/main/java/org/opendaylight/controller/configpusherfeature/internal/FeatureConfigPusher.java +++ b/opendaylight/config/config-persister-feature-adapter/src/main/java/org/opendaylight/controller/configpusherfeature/internal/FeatureConfigPusher.java @@ -77,7 +77,7 @@ public class FeatureConfigPusher { if(isInstalled(feature)) { // FIXME Workaround for BUG-2836, features service returns null for feature: standard-condition-webconsole_0_0_0, 3.0.1 if(featuresService.getFeature(feature.getName(), feature.getVersion()) == null) { - LOG.warn("Feature: {}, {} is missing from features service. Skipping", feature.getName(), feature.getVersion()); + LOG.debug("Feature: {}, {} is missing from features service. Skipping", feature.getName(), feature.getVersion()); } else { ChildAwareFeatureWrapper wrappedFeature = new ChildAwareFeatureWrapper(feature, featuresService); configs = wrappedFeature.getFeatureConfigSnapshotHolders(); -- 2.36.6