...
|
...
|
@@ -14,7 +14,7 @@ |
|
|
<file>${yoho.logs.basedir}/${yoho.search.service.env.namespace}/debug.log</file>
|
|
|
<!-- 过滤器,过滤掉 TRACE 和 DEBUG 和 INFO 级别的日志 -->
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
|
|
<level>WARN</level>
|
|
|
<level>INFO</level>
|
|
|
</filter>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
...
|
...
|
@@ -36,7 +36,7 @@ |
|
|
<file>${yoho.logs.basedir}/${yoho.search.service.env.namespace}/warn.log</file>
|
|
|
<!-- 过滤器,过滤掉 TRACE 和 DEBUG 和 INFO 级别的日志 -->
|
|
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
|
|
<level>WARN</level>
|
|
|
<level>INFO</level>
|
|
|
</filter>
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
<!-- daily rollover -->
|
...
|
...
|
|