commit c9a81ceaa15bb91a7370bb7dbee16e7e3d4a14dd parent 9fc550d3a23092f3e641e1a3ee639ba6940d4a33 Author: Wim Dupont <wim@wimdupont.com> Date: Fri, 22 Dec 2023 10:10:20 +0100 spring profiles update Diffstat:
M | pom.xml | | | 12 | ++++++------ |
M | src/main/resources/logback-spring.xml | | | 4 | ++-- |
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/pom.xml b/pom.xml @@ -103,17 +103,17 @@ </properties> </profile> <profile> - <id>test</id> + <id>tst</id> <properties> - <spring.profiles.active>test</spring.profiles.active> - <flyway.configFiles>src/main/resources/application-test.properties</flyway.configFiles> + <spring.profiles.active>tst</spring.profiles.active> + <flyway.configFiles>src/main/resources/application-tst.properties</flyway.configFiles> </properties> </profile> <profile> - <id>prod</id> + <id>prd</id> <properties> - <spring.profiles.active>prod</spring.profiles.active> - <flyway.configFiles>src/main/resources/application-prod.properties</flyway.configFiles> + <spring.profiles.active>prd</spring.profiles.active> + <flyway.configFiles>src/main/resources/application-prd.properties</flyway.configFiles> </properties> </profile> </profiles> diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml @@ -8,7 +8,7 @@ <pattern>${LOG_PATTERN}</pattern> </encoder> </appender> - <springProfile name="prod"> + <springProfile name="prd"> <appender name="monitor" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>${APP_LOG_ROOT}/monitor/monitor.log</file> <encoder> @@ -47,7 +47,7 @@ <appender-ref ref="logging"/> </root> </springProfile> - <springProfile name="!prod"> + <springProfile name="!prd"> <root level="INFO"> <appender-ref ref="STDOUT"/> </root>