From d374c8213d2eee6a288ac6320b0b3d495af4f42b Mon Sep 17 00:00:00 2001 From: hui Date: Sun, 12 Jan 2025 13:17:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- servers/boe-server-all/src/main/resources/application.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/boe-server-all/src/main/resources/application.yml b/servers/boe-server-all/src/main/resources/application.yml index 639aed62..0cb7ad31 100644 --- a/servers/boe-server-all/src/main/resources/application.yml +++ b/servers/boe-server-all/src/main/resources/application.yml @@ -1,6 +1,6 @@ spring: profiles: - active: "@profileActive@" + active: dev application: name: boe-server-all redis: @@ -25,7 +25,7 @@ spring: current_session_context_class: org.springframework.orm.hibernate5.SpringSessionContext database-platform: org.hibernate.dialect.MySQL5InnoDBDialect logging: - config: classpath:log/logback-@profileActive@.xml + config: classpath:log/logback-${spring.profiles.active}.xml server: port: 9090 tomcat: