Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-415

LoggerContextRemoteView is "leaking" the property map to different appenders

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 0.9.15
    • logback-classic
    • None

    Description

      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.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            jhuxhorn Joern Huxhorn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: