|
|
|
@ -67,7 +67,7 @@
|
|
|
|
|
<appender name="ASYNC_ERROR_ROLLING" class="ch.qos.logback.classic.AsyncAppender">
|
|
|
|
|
<appender-ref ref="ERROR_ROLLING"/>
|
|
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
|
|
|
|
<level>DEBUG</level>
|
|
|
|
|
<level>ERROR</level>
|
|
|
|
|
</filter>
|
|
|
|
|
</appender>
|
|
|
|
|
<!-- ============================================================================= -->
|
|
|
|
@ -141,7 +141,10 @@
|
|
|
|
|
|
|
|
|
|
<root level="${ROOT_LOG_LEVEL}">
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
</configuration>
|