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

Possibility to change StatusManger impl in subclass of ContextBase

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logback-core
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      116

      Description

      I'd like the possibility to change the StatusManager implementation in a subclass of ch.qos.logback.core.ContextBase. As the sm attribute isn't 'protected' and there is no set method, this isn't possible without overriding the getStatusManger() method.
      A simple solution would be to add a 'protected' constructor that takes the StatusManager as argument.

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              andham Anders Hammar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: