diff --git a/yexuejc-springboot-base/src/main/resources/logback-spring.xml b/yexuejc-springboot-base/src/main/resources/logback-spring.xml index 54e679b..e730516 100644 --- a/yexuejc-springboot-base/src/main/resources/logback-spring.xml +++ b/yexuejc-springboot-base/src/main/resources/logback-spring.xml @@ -1,63 +1,73 @@ - - + + + + + + + - - - - ${context.name} - - ${log.path}/access.log - - ${log.path}/access.${roll.file.suffix} - - - - ${log.pattern} - - - - ${log.path}/biz.log - - ${log.path}/biz.${roll.file.suffix} - - - - ${log.pattern} - - - - ${log.path}/exception.log - - ${log.path}/exception.${roll.file.suffix} - - - - ${log.pattern} - - - - - - - - - - - - - - - - ${log.pattern} - - - - - + + + ${context.name} + + ${log.path}/access.log + + ${log.path}/access.${roll.file.suffix} + + + + ${log.pattern} + + + + ${log.path}/biz.log + + ${log.path}/biz.${roll.file.suffix} + + + + ${log.pattern} + + + + ${log.path}/exception.log + + ${log.path}/exception.${roll.file.suffix} + + + + ${log.pattern} + + + + + + + + + + + + + + + + + + + ${log.pattern} + + + + + diff --git a/yexuejc-springboot-base/src/test/resources/application.properties b/yexuejc-springboot-base/src/test/resources/application.properties index fba6a7e..aa5b54b 100644 --- a/yexuejc-springboot-base/src/test/resources/application.properties +++ b/yexuejc-springboot-base/src/test/resources/application.properties @@ -1,5 +1,7 @@ server.port=8888 +spring.application.name=@pom.artifactId@ + logging.level.root=info logging.path=/logs/yexuejc-springboot-parent