Skip to content

Commit 1785d1a

Browse files
committed
Update logback.xml
1 parent 72bf480 commit 1785d1a

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

deploy/all-cr.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ data:
506506
<property scope="context" name="logger.advice.level" value="${LIVE_LOG_ADVICE_LEVEL:-${logger.level}}"/>
507507
<property scope="context" name="logger.route.level" value="${LIVE_LOG_ROUTE_LEVEL:-${logger.level}}"/>
508508
<property scope="context" name="logger.metric.level" value="${LIVE_LOG_METRIC_LEVEL:-${logger.level}}"/>
509+
<property scope="context" name="logger.unitFilter.level" value="${LIVE_LOG_UNIT_FILTER_LEVEL:-${logger.level}}"/>
509510
<property scope="context" name="logger.totalSize" value="${LIVE_LOG_TOTAL_SIZE:-10GB}"/>
510511
<property scope="context" name="logger.maxHistory" value="${LIVE_LOG_MAX_HISTORY:-30}"/>
511512
<property scope="context" name="logger.maxFileSize" value="${LIVE_LOG_MAX_SIZE:-1GB}"/>
@@ -549,6 +550,12 @@ data:
549550
<appender-ref ref="CONSOLE_APPENDER"/>
550551
</logger>
551552
553+
<logger name="com.jd.live.agent.governance.invoke.filter.route.UnitFilter"
554+
level="${logger.unitFilter.level}"
555+
additivity="false">
556+
<appender-ref ref="CONSOLE_APPENDER"/>
557+
</logger>
558+
552559
<root level="${logger.level}">
553560
<appender-ref ref="${LIVE_LOG_APPENDER:-ROLLING_APPENDER}"/>
554561
</root>

deploy/joylive-injector/config/logback.xml

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<property scope="context" name="logger.advice.level" value="${LIVE_LOG_ADVICE_LEVEL:-${logger.level}}"/>
2323
<property scope="context" name="logger.route.level" value="${LIVE_LOG_ROUTE_LEVEL:-${logger.level}}"/>
2424
<property scope="context" name="logger.metric.level" value="${LIVE_LOG_METRIC_LEVEL:-${logger.level}}"/>
25+
<property scope="context" name="logger.unitFilter.level" value="${LIVE_LOG_UNIT_FILTER_LEVEL:-${logger.level}}"/>
2526
<property scope="context" name="logger.totalSize" value="${LIVE_LOG_TOTAL_SIZE:-10GB}"/>
2627
<property scope="context" name="logger.maxHistory" value="${LIVE_LOG_MAX_HISTORY:-30}"/>
2728
<property scope="context" name="logger.maxFileSize" value="${LIVE_LOG_MAX_SIZE:-1GB}"/>
@@ -65,6 +66,12 @@
6566
<appender-ref ref="CONSOLE_APPENDER"/>
6667
</logger>
6768

69+
<logger name="com.jd.live.agent.governance.invoke.filter.route.UnitFilter"
70+
level="${logger.unitFilter.level}"
71+
additivity="false">
72+
<appender-ref ref="CONSOLE_APPENDER"/>
73+
</logger>
74+
6875
<root level="${logger.level}">
6976
<appender-ref ref="${LIVE_LOG_APPENDER:-ROLLING_APPENDER}"/>
7077
</root>
44 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)