2
0

feat: adjust nacos config yaml

This commit is contained in:
zhangsz
2024-12-31 19:51:59 +08:00
parent 8b39b00e3c
commit d6a2d26811
15 changed files with 135 additions and 99 deletions

View File

@@ -9,7 +9,7 @@ spring:
name: wfc-user
profiles:
# 环境配置
active: '@profileName@'
active: ${NACOS_PROFILE_NAME:prod}
cloud:
nacos:
discovery:

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds" debug="false">
<!-- 日志存放路径 -->
<property name="log.path" value="logs/wfc-job" />
<property name="log.path" value="logs/wfc-user" />
<!-- 日志输出格式 -->
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />