新增忽略

This commit is contained in:
attiya 2025-12-23 17:16:10 +08:00
parent da216a9d6e
commit 57afca9034
2 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
target/
logs/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

View File

@ -117,8 +117,15 @@ minio:
show-url: https://www.cdzhuojing.cn/file
logging:
level:
root: INFO
org.springframework.web: WARN
org.mybatis: DEBUG # 查看MyBatis SQL语句
file:
name: logs/${spring.application.name}.log # 输出到文件(默认追加)
pattern:
dateformat: yyyy-MM-dd HH:mm:ss.SSS # 包含毫秒
console: "%d{yyyy-MM-dd HH:mm:ss} - %highlight(%-5level) [%thread] %cyan(%logger{36}) : %msg%n"
file: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
geo-coding:
api-url: https://restapi.amap.com/v3/geocode