diff --git a/core/src/main/java/com/alibaba/nacos/core/utils/Constants.java b/core/src/main/java/com/alibaba/nacos/core/utils/Constants.java index c3c6231a9..079c43d41 100644 --- a/core/src/main/java/com/alibaba/nacos/core/utils/Constants.java +++ b/core/src/main/java/com/alibaba/nacos/core/utils/Constants.java @@ -56,6 +56,6 @@ public interface Constants { String IP_ADDRESS = "nacos.inetutils.ip-address"; String PREFER_HOSTNAME_OVER_IP = "nacos.inetutils.prefer-hostname-over-ip"; String SYSTEM_PREFER_HOSTNAME_OVER_IP = "nacos.preferHostnameOverIp"; - String WEN_CONTEXT_PATH = "server.servlet.context-path"; + String WEB_CONTEXT_PATH = "server.servlet.context-path"; String COMMA_DIVISION = ","; } diff --git a/naming/src/main/java/com/alibaba/nacos/naming/boot/RunningConfig.java b/naming/src/main/java/com/alibaba/nacos/naming/boot/RunningConfig.java index b6cdcd4f6..ce530be94 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/boot/RunningConfig.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/boot/RunningConfig.java @@ -59,7 +59,7 @@ public class RunningConfig implements ApplicationListener keys = task.getKeys(); + + if (Loggers.SRV_LOG.isDebugEnabled()) { + Loggers.SRV_LOG.debug("try to sync data for this keys {}.", keys); + } // 2. get the datums by keys and check the datum is empty or not Map datumMap = dataStore.batchGet(keys); if (datumMap == null || datumMap.isEmpty()) {