菜单归属系统代码优化及各种细节优化

This commit is contained in:
thinkgem
2018-12-22 19:16:47 +08:00
parent e663ae3207
commit 314cef3201
6 changed files with 14 additions and 12 deletions

View File

@@ -224,7 +224,9 @@ public class PropertiesUtils {
if (new File(classesLogPath).exists()){
logPath = classesLogPath;
}
System.setProperty("logPath", FileUtils.path(logPath));
if (StringUtils.isBlank(System.getProperty("logPath"))){
System.setProperty("logPath", FileUtils.path(logPath));
}
return LoggerFactory.getLogger(PropertiesUtils.class);
}