[ 
https://issues.apache.org/jira/browse/SLING-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804930#action_12804930
 ] 

Felix Meschberger commented on SLING-1326:
------------------------------------------

Committed a first fix in Rev. 903111.

Further inspection on the consequences of concurrent access must be looked at, 
though. Therefore keeping this issue open

> LogConfigManager: Access to internal configuration maps is not thread-safe
> --------------------------------------------------------------------------
>
>                 Key: SLING-1326
>                 URL: https://issues.apache.org/jira/browse/SLING-1326
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons Log 2.0.6
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Commons Log 2.0.8
>
>
> The LogConfigManager class has a number of maps to internally manage 
> configurations and writers and logger categories. Access to these maps is not 
> thread-safe and might lead to endless loops if maps get corrupted.
> To fix issue, it would probably be easiest to replace the HashMap obejdcts by 
> ConcurrentHashMap objects.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to