diff --git a/spring-cloud-tencent-commons/src/main/java/com/tencent/cloud/common/util/ApplicationContextAwareUtils.java b/spring-cloud-tencent-commons/src/main/java/com/tencent/cloud/common/util/ApplicationContextAwareUtils.java index ef920d3d3..3fd921776 100644 --- a/spring-cloud-tencent-commons/src/main/java/com/tencent/cloud/common/util/ApplicationContextAwareUtils.java +++ b/spring-cloud-tencent-commons/src/main/java/com/tencent/cloud/common/util/ApplicationContextAwareUtils.java @@ -59,7 +59,7 @@ public class ApplicationContextAwareUtils implements ApplicationContextAware { if (applicationContext != null) { return applicationContext.getEnvironment().getProperty(key); } - LOGGER.warn("applicationContext is null, try to get property from System.getenv or System.getProperty"); + LOGGER.warn("applicationContext is null, try to get property({}} from System.getenv or System.getProperty", key); String property = System.getenv(key); if (StringUtils.isBlank(property)) { property = System.getProperty(key);