mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-04 09:59:55 +08:00
调整本地启动时 logs文件夹的位置
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<configuration status="INFO" monitorInterval="30">
|
||||
|
||||
<properties>
|
||||
<Property name="LOG_DIR">/home/sanbing/logs/jcpp</Property>
|
||||
<Property name="LOG_DIR">${LOG_HOME:-./logs/jcpp}</Property>
|
||||
<Property name="LOG_PATTERN">%d{yyyy-MM-dd HH:mm:ss:SSS} [%X{TRACE_ID}] [%t] %p %c{1} %m%n%throwable</Property>
|
||||
</properties>
|
||||
|
||||
|
||||
13
pom.xml
13
pom.xml
@@ -513,6 +513,19 @@
|
||||
<include>**/*</include>
|
||||
</includes>
|
||||
</fileset>
|
||||
<!-- 清理所有子模块的logs目录(通配符方式) -->
|
||||
<fileset>
|
||||
<directory>${main.dir}</directory>
|
||||
<includes>
|
||||
<include>**/logs/**</include>
|
||||
<include>**/logs/</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>target/**</exclude>
|
||||
<exclude>.git/**</exclude>
|
||||
</excludes>
|
||||
<followSymlinks>false</followSymlinks>
|
||||
</fileset>
|
||||
</filesets>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
Reference in New Issue
Block a user