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

Possibility to change StatusManger impl in subclass of ContextBase

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • logback-core
    • None
    • Operating System: All
      Platform: All

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: