[logback-dev] Clear log cache in LoggerContext

wenjun ruan bestruanwenjun at gmail.com
Mon Dec 27 09:13:58 CET 2021


Hi community,

When I use Logback, I will continue to create different Logger to
write content to different log file.
After use, can I remove the Logger instance? It seems the Logger is
cached in LoggerContext, if I don't remove it, it will always exist.

Thanks,
Wenjun


More information about the logback-dev mailing list