[logback-dev] [JIRA] Created: (LBCLASSIC-115) LoggerContextRemoteView is "leaking" the property map to different appenders

Joern Huxhorn (JIRA) noreply-jira at qos.ch
Mon Mar 16 05:34:11 CET 2009


LoggerContextRemoteView is "leaking" the property map to different appenders
----------------------------------------------------------------------------

                 Key: LBCLASSIC-115
                 URL: http://jira.qos.ch/browse/LBCLASSIC-115
             Project: logback-classic
          Issue Type: Bug
          Components: appender
    Affects Versions: 0.9.15
            Reporter: Joern Huxhorn
            Assignee: Logback dev list
            Priority: Minor


The map returned by LoggerContextRemoteView.getPropertyMap()  is the same for every attached appender.

This means that appenders are able to change the map for other appenders. I didn't really expect this.

Suggestion: Return either a copy of the map or an unmodifiable version of it. 

-- 
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

        


More information about the logback-dev mailing list