日志路径生成优化;在磁盘根目录下BeetlUtil.getWebRoot()报错修正

This commit is contained in:
thinkgem
2018-05-05 19:32:09 +08:00
parent b2f308148e
commit 0fc3693b03
4 changed files with 26 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
<configuration debug="false" scan="false">
<!-- Log file path -->
<property name="log.path" value="${logPath:-..}/logs" />
<property name="log.path" value="${logPath:-${java.io.tmpdir:-.}}/logs" />
<!-- Spring boot default -->
<include resource="org/springframework/boot/logging/logback/defaults.xml" />