日志配置修改

This commit is contained in:
lxp
2026-10-14 14:46:17 +08:00
parent 5015c2f10b
commit fb1a31f782
5 changed files with 10 additions and 11 deletions
@@ -17,7 +17,5 @@ community:
token: ${GITEA_TOKEN}
logging:
file:
path: ${LOG_PATH:logs/prod}
level:
com.linkerbot.community: INFO
@@ -17,7 +17,5 @@ community:
token: ${GITEA_TOKEN:}
logging:
file:
path: ${LOG_PATH:logs/test}
level:
com.linkerbot.community: DEBUG
@@ -2,7 +2,7 @@ server:
port: ${SERVER_PORT:${PORT:8993}}
spring:
application:
name: community
name: community-api
profiles:
default: test
sql:
@@ -37,9 +37,10 @@ springdoc:
swagger-ui:
path: /swagger-ui.html
logging:
file:
path: ${LOG_PATH:logs}
level:
root: INFO
org.springframework: INFO
# 测试环境开启项目 DEBUG 时,不输出 SQL 参数或完整请求内容。
# 测试环境开启项目 DEBUG 时,仍不输出 SQL 参数或完整请求内容。
com.linkerbot.community.service.mapper: INFO
org.springframework.web: INFO