diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/log/LogBase.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/log/LogBase.java index 8eb0ead9..2de0bddd 100755 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/log/LogBase.java +++ b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/log/LogBase.java @@ -95,7 +95,7 @@ public class LogBase { logBaseDir = properties.getProperty(LOG_DIR) == null ? logBaseDir : properties.getProperty(LOG_DIR); - addSeparator(logBaseDir); + logBaseDir = addSeparator(logBaseDir); File dir = new File(logBaseDir); if (!dir.exists()) { if (!dir.mkdirs()) {