Fix the incorrect logic of handling the end separator of the log directory in LogBase (#1172)

This commit is contained in:
于玉桔 2019-11-21 13:37:50 +08:00 committed by Eric Zhao
parent 72a58f7ea7
commit 24f8d75601
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {