Make log message clearer
Change-Id: I5e27fc1d242ca03a4ed93dd67fbbf6d477cbd808
(cherry picked from commit 1ba1549f3637cd3f1def72ec6f04656b3fe2d5a6)
diff --git a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/XConnectHandler.java b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/XConnectHandler.java
index c3f737f..ee810cf 100644
--- a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/XConnectHandler.java
+++ b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/XConnectHandler.java
@@ -56,7 +56,7 @@
*/
public class XConnectHandler {
private static final Logger log = LoggerFactory.getLogger(XConnectHandler.class);
- private static final String CONFIG_NOT_FOUND = "XConnect config missing";
+ private static final String CONFIG_NOT_FOUND = "XConnect config not found";
private static final String NOT_MASTER = "Not master controller";
private final SegmentRoutingManager srManager;
private final StorageService storageService;
@@ -87,7 +87,7 @@
XConnectConfig config =
srManager.cfgService.getConfig(srManager.appId, XConnectConfig.class);
if (config == null) {
- log.warn("Failed to read XConnect config: {}", CONFIG_NOT_FOUND);
+ log.info("Skip XConnect initialization: {}", CONFIG_NOT_FOUND);
return;
}