Fix the incorrect logic of handling the end separator of the log directory in LogBase (#1172)
This commit is contained in:
parent
72a58f7ea7
commit
24f8d75601
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue