This is an automated email from the ASF dual-hosted git repository. zhengchenyu pushed a commit to branch branch-0.9 in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git
The following commit(s) were added to refs/heads/branch-0.9 by this push: new 0cc3ca32b [#1910] fix: Remove the method name from the log (#1911) 0cc3ca32b is described below commit 0cc3ca32ba364aaf20fe33d17ac2a4690ea95f2a Author: Junfan Zhang <zus...@apache.org> AuthorDate: Wed Jul 17 09:45:24 2024 +0800 [#1910] fix: Remove the method name from the log (#1911) ### What changes were proposed in this pull request? From the log4j document, we should not print out the method name into the log4j properties. ### Why are the changes needed? Fix: #1910 Refer to: https://logging.apache.org/log4j/2.x/performance.html#asynchronous-logging-with-caller-location-information ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Needn't --- conf/log4j2.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/log4j2.xml b/conf/log4j2.xml index 6ea652a08..7ef007eea 100644 --- a/conf/log4j2.xml +++ b/conf/log4j2.xml @@ -18,10 +18,10 @@ <Configuration status="WARN" monitorInterval="30"> <Appenders> <Console name="console" target="SYSTEM_ERR"> - <PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%t] [%p] %c{1}.%M - %m%n%ex"/> + <PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%t] [%p] %c{1} - %m%n%ex"/> </Console> <RollingFile name="RollingAppender" fileName="${sys:log.path}" filePattern="${sys:log.path}.%i"> - <PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%t] [%p] %c{1}.%M - %m%n%ex"/> + <PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%t] [%p] %c{1} - %m%n%ex"/> <Policies> <SizeBasedTriggeringPolicy size="2GB"/> </Policies> @@ -46,4 +46,4 @@ <AppenderRef ref="RollingAppender"/> </Logger> </Loggers> -</Configuration> \ No newline at end of file +</Configuration>