This is an automated email from the ASF dual-hosted git repository. zuston pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git
The following commit(s) were added to refs/heads/master by this push: new bb1eaa24a [#1910] fix: Remove the method name from the log (#1911) bb1eaa24a is described below commit bb1eaa24a4fd9ccb5bcaa070b60862b71b90be13 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 b05d669ac..514fef995 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> @@ -56,4 +56,4 @@ <AppenderRef ref="auditAppender"/> </Logger> </Loggers> -</Configuration> \ No newline at end of file +</Configuration>