[JIRA] Created: (LBCLASSIC-318) ConcurrentModificationException when LoggerContext.reset

View: New views
2 Messages — Rating Filter:   Alert me  

[JIRA] Created: (LBCLASSIC-318) ConcurrentModificationException when LoggerContext.reset

by JIRA noreply-jira@qos.ch :: Rate this Message:

| View Threaded | Show Only this Message

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
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev

[JIRA] (LBCLASSIC-318) ConcurrentModificationException when LoggerContext.reset

by JIRA noreply-jira@qos.ch :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at ch.qos.logback.classic.Logger.recursiveReset(Logger.java:375)
at ch.qos.logback.classic.LoggerContext.reset(LoggerContext.java:223)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev