[#1910] fix: Remove the method name from the log#1911
Conversation
|
This is not from log4j2. I don't think log4j2 will hang. |
Is this right? I'm not sure. Please see https://logging.apache.org/log4j/2.x/performance.html#asynchronous-logging-with-caller-location-information |
|
Your jstack log does tell it's from log4j2. Instead, it should belong to log4j1. |
|
We don't need the |
|
Yes. I know this cause that not happen on the log4j2. But the doc indicates that we should not use the |
|
We can remove it. When debuging, we can add it back manually. Or we could just add something like a debug switch, then we can use different log4j2 configurations in different scenarios (test/prod). |
Ok for me. I just hope the example log4j xml could be stable and available |
### 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

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
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Needn't