[#1435] improvement: Improve log4j settings to avoid annoying messages - #1436
Conversation
|
PTAL @jerqi |
|
Could you show the difference if we don't have this pr? |
Useless logs like below will be removed in DEBUG mode and will be controlled individually by loggers: [2024-01-10 00:52:38.344] [grpc-default-worker-ELG-1-39] [DEBUG] io.grpc.netty.shaded.io.grpc.netty.NettyServerHandler.log - [id: 0xfadd038a, L:/100.10.10.112:19977 - R:/9.22.162.91:49272] INBOUND HEADERS: streamId=35051 headers=GrpcHttp2RequestHeaders[:path: /rss.common.ShuffleServer/requireBuffer, :authority: 100.10.10.112:19977, :method: POST, :scheme: http, te: trailers, content-type: application/grpc, user-agent: grpc-java-netty/1.47.0, grpc-accept-encoding: gzip, grpc-timeout: 59999974u] streamDependency=0 weight=16 exclusive=false padding=0 endStream=false @jerqi |
What changes were proposed in this pull request?
Improve the log4j settings to avoid annoying messages, by adding separate loggers in the log4j.properties file.
Why are the changes needed?
For #1435
Does this PR introduce any user-facing change?
No.
How was this patch tested?
By running the process successfully and check the log4j output.