Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0.0
-
None
-
None
Description
Not sure if it's a bug. Should we expect this to be thread safe:
//should below work in concurrent scenario? { LoggerContext context = (LoggerContext) LoggerFactory.getILoggerFactory(); //configure the context somehow context.reset() }
I'm facing this issue from time to time:
Caused by: java.util.ConcurrentModificationException at ch.qos.logback.classic.Logger.recursiveReset(Logger.java:372) at ch.qos.logback.classic.LoggerContext.reset(LoggerContext.java:223)