config : logback ERROR 설정

dev
minuk926 3 years ago
parent 9984274cdf
commit a9c02807e4

@ -67,7 +67,7 @@
<appender name="ASYNC_ERROR_ROLLING" class="ch.qos.logback.classic.AsyncAppender"> <appender name="ASYNC_ERROR_ROLLING" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="ERROR_ROLLING"/> <appender-ref ref="ERROR_ROLLING"/>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>DEBUG</level> <level>ERROR</level>
</filter> </filter>
</appender> </appender>
<!-- ============================================================================= --> <!-- ============================================================================= -->
@ -141,7 +141,10 @@
<root level="${ROOT_LOG_LEVEL}"> <root level="${ROOT_LOG_LEVEL}">
<appender-ref ref="CONSOLE"/> <appender-ref ref="CONSOLE"/>
<springProfile name="dev,prod"><appender-ref ref="ASYNC_ROLLING"/></springProfile> <springProfile name="dev,prod">
<appender-ref ref="ASYNC_ROLLING"/>
<appender-ref ref="ASYNC_ERROR_ROLLING"/>
</springProfile>
</root> </root>
</configuration> </configuration>
Loading…
Cancel
Save