...
|
...
|
@@ -346,25 +346,13 @@ |
|
|
<appender-ref ref="CACHE_MATCH_REQUEST_APPENDER"/>
|
|
|
</logger>
|
|
|
|
|
|
<!-- 耗时统计-->
|
|
|
<logger name="CONTROLLER_COST" additivity="false">
|
|
|
<level value="${yoho.logs.level}"/>
|
|
|
<appender-ref ref="CONTROLLER_COST"/>
|
|
|
</logger>
|
|
|
|
|
|
<!-- 空结果统计-->
|
|
|
<logger name="EMPTY_RESULT" additivity="false">
|
|
|
<level value="INFO"/>
|
|
|
<appender-ref ref="EMPTY_RESULT"/>
|
|
|
</logger>
|
|
|
|
|
|
<!-- 性能监控 -->
|
|
|
<logger name="CONTROLLER_PERFORMANCE" additivity="false">
|
|
|
<level value="${yoho.logs.level}"/>
|
|
|
<level value="INFO"/>
|
|
|
<appender-ref ref="CONTROLLER_PERFORMANCE_APPENDER"/>
|
|
|
</logger>
|
|
|
|
|
|
<!-- ES耗时统计 -->
|
|
|
<!-- ES耗时统计 -->
|
|
|
<logger name="ES_PERFORMANCE" additivity="false">
|
|
|
<level value="INFO"/>
|
|
|
<appender-ref ref="ES_PERFORMANCE_APPENDER"/>
|
...
|
...
|
@@ -376,16 +364,28 @@ |
|
|
<appender-ref ref="DOWNGRADE_APPENDER"/>
|
|
|
</logger>
|
|
|
|
|
|
<!-- 个性化搜索日志 -->
|
|
|
<logger name="PERSONALIZED" additivity="false">
|
|
|
<!-- 超时统计-->
|
|
|
<logger name="CONTROLLER_COST" additivity="false">
|
|
|
<level value="INFO"/>
|
|
|
<appender-ref ref="CONTROLLER_COST"/>
|
|
|
</logger>
|
|
|
|
|
|
<!-- 空结果统计-->
|
|
|
<logger name="EMPTY_RESULT" additivity="false">
|
|
|
<level value="${yoho.logs.level}"/>
|
|
|
<appender-ref ref="PERSONALIZED_APPENDER"/>
|
|
|
<appender-ref ref="EMPTY_RESULT"/>
|
|
|
</logger>
|
|
|
|
|
|
<!-- 促销日志 -->
|
|
|
<!-- 促销日志 -->
|
|
|
<logger name="PROMOTION" additivity="false">
|
|
|
<level value="INFO"/>
|
|
|
<appender-ref ref="PROMOTION_APPENDER"/>
|
|
|
</logger>
|
|
|
|
|
|
<!-- 个性化搜索日志 -->
|
|
|
<logger name="PERSONALIZED" additivity="false">
|
|
|
<level value="${yoho.logs.level}"/>
|
|
|
<appender-ref ref="PERSONALIZED_APPENDER"/>
|
|
|
</logger>
|
|
|
|
|
|
</configuration> |
|
|
\ No newline at end of file |
...
|
...
|
|