logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Veselin M <veselin_...@yahoo.com.INVALID>
Subject Memory leak by not disposing loggers
Date Sun, 19 Apr 2015 09:27:32 GMT
Hello all, 

I have a memory leak problem with Log4j2. I’m using SLF4J to get loggers for my objects.
Unfortunately when they get garbage collected the logger remains cached in LoggerContext.loggers
in the log4j framework. Is there any way to prevent the caching or to remove the logger? 

Regards 
Veselin

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message