Skip to content
Advertisement

Log4j2 tomcat 10 memory leaks on shutdown

I have memory leaks at my tomcat 10.0.16 servlet application. I am using Log4j2 2.17.2 version, and after tomcat shutdown I see next logs:

JavaScript

My pom.xml for Log4j2 is:

JavaScript

And also log4j2 config

JavaScript

Most common fix is to add log4j-jakarta-web, but this does not works for me

Advertisement

Answer

Fully deleting target folder and recompiling my project seems like resolved my issue.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement