日志输出改回相对路径 解决新版idea 编译user.dir会指定到idea配置目录下

This commit is contained in:
疯狂的狮子li 2020-12-09 13:33:41 +08:00
parent 5a62019cdd
commit 583738fa65
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<property name="log.path" value="${user.dir}/logs"/>
<property name="log.path" value=".logs"/>
<property name="console.log.pattern"
value="%red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{36}%n) - %msg%n"/>
<property name="log.pattern" value="%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"/>