-
Hi there, I have the below class that I have to repeatedly load by different classloaders.
Each initialization of the class will trigger the static variable to be created. I noticed that the logger creation time becomes longer and longer, it used to finish for about 10 ms and then becomes more than 5s, and even more later. Below is a thread dump in case it is helpful
Appreciate if you have any thought on this, thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
ppkarwasz
Jan 26, 2025
Replies: 1 comment 1 reply
-
Which version of Log4j are you using? Did you try with the latest one ( |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
puchengy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@puchengy,
Which version of Log4j are you using? Did you try with the latest one (
2.24.3
)?