Charles Chan
Committed by Charles Chan

Make log message clearer

Change-Id: I5e27fc1d242ca03a4ed93dd67fbbf6d477cbd808
(cherry picked from commit 1ba1549f)
...@@ -56,7 +56,7 @@ import java.util.stream.Collectors; ...@@ -56,7 +56,7 @@ import java.util.stream.Collectors;
56 */ 56 */
57 public class XConnectHandler { 57 public class XConnectHandler {
58 private static final Logger log = LoggerFactory.getLogger(XConnectHandler.class); 58 private static final Logger log = LoggerFactory.getLogger(XConnectHandler.class);
59 - private static final String CONFIG_NOT_FOUND = "XConnect config missing"; 59 + private static final String CONFIG_NOT_FOUND = "XConnect config not found";
60 private static final String NOT_MASTER = "Not master controller"; 60 private static final String NOT_MASTER = "Not master controller";
61 private final SegmentRoutingManager srManager; 61 private final SegmentRoutingManager srManager;
62 private final StorageService storageService; 62 private final StorageService storageService;
...@@ -87,7 +87,7 @@ public class XConnectHandler { ...@@ -87,7 +87,7 @@ public class XConnectHandler {
87 XConnectConfig config = 87 XConnectConfig config =
88 srManager.cfgService.getConfig(srManager.appId, XConnectConfig.class); 88 srManager.cfgService.getConfig(srManager.appId, XConnectConfig.class);
89 if (config == null) { 89 if (config == null) {
90 - log.warn("Failed to read XConnect config: {}", CONFIG_NOT_FOUND); 90 + log.info("Skip XConnect initialization: {}", CONFIG_NOT_FOUND);
91 return; 91 return;
92 } 92 }
93 93
......