Skip to content

Commit

Permalink
feat: prod 로그
Browse files Browse the repository at this point in the history
  • Loading branch information
yujamint committed Nov 23, 2023
1 parent 1c782d3 commit e798e1b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions backend/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
value="[%d{yyyy-MM-dd HH:mm:ss}:%-4relative] %green([%thread]) %highlight(%-5level) %cyan([%C.%M:%yellow(%L)]) - %msg%n"/>

<!-- 프로덕션 외의 환경 -->
<springProfile name="local, test, default">
<springProfile name="local, test, default, prod">
<include resource="console-appender.xml"/>

<root level="INFO">
Expand All @@ -30,19 +30,19 @@
</springProfile>

<!-- 프로덕션 환경 -->
<springProfile name="prod">
<include resource="prod-file-appender.xml"/>
<!-- <springProfile name="prod">-->
<!-- <include resource="prod-file-appender.xml"/>-->

<root level="INFO">
<appender-ref ref="FILE-ERROR"/>
<appender-ref ref="FILE-WARN"/>
<appender-ref ref="FILE-INFO"/>
</root>
<!-- <root level="INFO">-->
<!-- <appender-ref ref="FILE-ERROR"/>-->
<!-- <appender-ref ref="FILE-WARN"/>-->
<!-- <appender-ref ref="FILE-INFO"/>-->
<!-- </root>-->


<root level="ERROR">
<appender-ref ref="ASYNC_SLACK"/>
</root>
</springProfile>
<!-- <root level="ERROR">-->
<!-- <appender-ref ref="ASYNC_SLACK"/>-->
<!-- </root>-->
<!-- </springProfile>-->

</configuration>

0 comments on commit e798e1b

Please sign in to comment.