fix: 日志文件修改。

This commit is contained in:
tianyongbao
2025-01-22 13:12:09 +08:00
parent e56051eef4
commit 546778307c
5 changed files with 8 additions and 4 deletions

View File

@@ -27,3 +27,7 @@ spring:
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
# 用于服务监控可在线查看日志,该配置用于生产环境
logging:
file:
name: logs/${spring.application.name}/info.log