Skip to content

Commit

Permalink
Fix the incorrect logic of handling the end separator of the log dire…
Browse files Browse the repository at this point in the history
…ctory in LogBase (alibaba#1172)
  • Loading branch information
zhaoyuguang authored and sczyh30 committed Nov 21, 2019
1 parent 72a58f7 commit 24f8d75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private static void loadProperties() {


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()) {
Expand Down

0 comments on commit 24f8d75

Please sign in to comment.