You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2021/06/04 14:41:20 UTC

[GitHub] [logging-log4j2] mglazer opened a new pull request #508: Make listeners in LoggerContext a CopyOnWriteArrayList

mglazer opened a new pull request #508:
URL: https://github.com/apache/logging-log4j2/pull/508


   This particular case fails quite often in integration tests
   where you have multiple separate threads potentially creating
   and destroying the singleton LoggerContext independently.
   
   Since this is a Listener List, it makes sense to just make
   it a CopyOnWriteArrayList, since the frequency of both
   occurring is going to be roughly equivalent.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [logging-log4j2] carterkozak merged pull request #508: LOG4J2-3103: Make listeners in LoggerContext a CopyOnWriteArrayList

Posted by GitBox <gi...@apache.org>.
carterkozak merged pull request #508:
URL: https://github.com/apache/logging-log4j2/pull/508


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org