[logback-dev] [Bug 102] New: unregistering in the jmx plugin

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Sep 27 22:29:59 CEST 2007


http://bugzilla.qos.ch/show_bug.cgi?id=102

           Summary: unregistering in the jmx plugin
           Product: logback-classic
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: logback-dev at qos.ch
        ReportedBy: hontvari3 at solware.com


I started using the JMX plugin of login, and I wondered how should I
shut it down when a web application is restarted. I haven't found a
function which unregisters the Configurator MBean. This object holds a
reference (through ContextAwareBase) to a Context. I am afraid that not
unregistering it causes a memory leak when a web application is restarted. 

There should be a way to shutdown the JMX plugin. Or more generally an API to
shut down the Logback system in its entirety: flush buffers, close files etc.
It must be decided what to do if a log request arrives when or after logback is
shutting down.


-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the logback-dev mailing list