ConcurrentModificationException when LoggerContext.reset
---------------------------------------------------------
Key: LBCLASSIC-318
URL: http://jira.qos.ch/browse/LBCLASSIC-318
Project: logback-classic
Issue Type: Bug
Affects Versions: 1.0.0
Reporter: Szczepan Faber
Assignee: Logback dev list
Not sure if it's a bug. Should we expect this to be thread safe:
{code}
//should below work in concurrent scenario?
{
LoggerContext context = (LoggerContext) LoggerFactory.getILoggerFactory();
//configure the context somehow
context.reset()
}
{code}
I'm facing this issue from time to time:
{code}
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)
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev