Skip to content

Commit

Permalink
fix : logback container 환경 loki 제외
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-1116 committed Jul 30, 2024
1 parent 88c18f7 commit 14cc61e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/core/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</encoder>
</appender>

<springProfile name="prod | container">
<springProfile name="prod">
<logger name="org.hibernate" level="error" additivity="false">
<appender-ref ref="STDOUT"/>
<appender-ref ref="LOKI"/>
Expand All @@ -43,7 +43,7 @@
</root>
</springProfile>

<springProfile name="local | dev | test">
<springProfile name="local | dev | test | container">
<logger name="org.hibernate" level="error" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
Expand Down

0 comments on commit 14cc61e

Please sign in to comment.