mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-12 22:09:57 +08:00
调整本地启动时 logs文件夹的位置
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<configuration status="INFO" monitorInterval="30">
|
<configuration status="INFO" monitorInterval="30">
|
||||||
|
|
||||||
<properties>
|
<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>
|
<Property name="LOG_PATTERN">%d{yyyy-MM-dd HH:mm:ss:SSS} [%X{TRACE_ID}] [%t] %p %c{1} %m%n%throwable</Property>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|||||||
13
pom.xml
13
pom.xml
@@ -513,6 +513,19 @@
|
|||||||
<include>**/*</include>
|
<include>**/*</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileset>
|
</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>
|
</filesets>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|||||||
Reference in New Issue
Block a user