Skip to content

Commit

Permalink
fix: logback 프로필 반대로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kikingki committed Nov 19, 2024
1 parent 1b0aa7a commit 5643160
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/resources/Logback.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<configuration>
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>

<springProfile name="dev">
<property resource="application-dev.yml"/>
<springProfile name="local">
<property resource="application-local.yml"/>
<include resource="org/springframework/boot/logging/logback/console-appender.xml"/>
<root level="INFO">
<appender-ref ref="CONSOLE"/>
</root>
</springProfile>
<springProfile name="local">
<property resource="application-local.yml"/>
<springProfile name="dev">
<property resource="application-dev.yml"/>
<springProperty name="DISCORD_WEBHOOK_URL" source="logging.discord.webhook-url"/>
<appender name="DISCORD" class="com.github.napstr.logback.DiscordAppender">
<webhookUri>${DISCORD_WEBHOOK_URL}</webhookUri>
Expand Down

0 comments on commit 5643160

Please sign in to comment.