diff --git a/jcpp-app-bootstrap/src/main/resources/log4j2.xml b/jcpp-app-bootstrap/src/main/resources/log4j2.xml index e5e68ce..0195198 100644 --- a/jcpp-app-bootstrap/src/main/resources/log4j2.xml +++ b/jcpp-app-bootstrap/src/main/resources/log4j2.xml @@ -2,7 +2,7 @@ - /home/sanbing/logs/jcpp + ${LOG_HOME:-./logs/jcpp} %d{yyyy-MM-dd HH:mm:ss:SSS} [%X{TRACE_ID}] [%t] %p %c{1} %m%n%throwable diff --git a/pom.xml b/pom.xml index a7e47c7..ed4fb46 100644 --- a/pom.xml +++ b/pom.xml @@ -513,6 +513,19 @@ **/* + + + ${main.dir} + + **/logs/** + **/logs/ + + + target/** + .git/** + + false +