You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zh...@apache.org on 2025/06/16 07:50:10 UTC
(pulsar) 07/08: fix log
This is an automated email from the ASF dual-hosted git repository.
zhangmingao pushed a commit to branch fix_style_log
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit c296975c84ea102e987be9ba862e6687fc8a3846
Author: gaozhangmin <gaozhangmin>
AuthorDate: Fri Jun 13 12:08:28 2025 +0800
fix log
---
conf/log4j2.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/conf/log4j2.yaml b/conf/log4j2.yaml
index efce1451256..8b03413c3a6 100644
--- a/conf/log4j2.yaml
+++ b/conf/log4j2.yaml
@@ -101,7 +101,7 @@ Configuration:
filePattern: "${sys:broker.log.dir}/${sys:kop.log.file}-%d{MM-dd-yyyy}-%i.log.gz"
immediateFlush: false
PatternLayout:
- Pattern: "%d{ISO8601_OFFSET_DATE_TIME_HHMM} [%t] %highlight{%-5level}{ERROR=red, WARN=yellow, INFO=green, DEBUG=blue, TRACE=magenta} %logger{36}.%method(%F:%L) - %highlight{%msg}%n"
+ Pattern: "%d{ISO8601_OFFSET_DATE_TIME_HHMM} [%t] %-5level %logger{36}.%method(%F:%L) - %msg%n"
Policies:
TimeBasedTriggeringPolicy:
interval: 1
@@ -122,7 +122,7 @@ Configuration:
filePattern: "${sys:broker.log.dir}/${sys:request.log.file}-%d{MM-dd-yyyy}-%i.log.gz"
immediateFlush: false
PatternLayout:
- Pattern: "%d{ISO8601_OFFSET_DATE_TIME_HHMM} [%t] %highlight{%-5level}{ERROR=red, WARN=yellow, INFO=green, DEBUG=blue, TRACE=magenta} %logger{36}.%method(%F:%L) - %highlight{%msg}%n"
+ Pattern: "%d{ISO8601_OFFSET_DATE_TIME_HHMM} [%t] %-5level %logger{36}.%method(%F:%L) - %msg%n"
Policies:
TimeBasedTriggeringPolicy:
interval: 1