logbackspring-logbacklogback-classic

Has Logback's JMX configuration feature gone for good?


We used to be able to change our logback configuration at runtime via a JMX MBean. This used to be enabled by adding <jmxConfigurator/> to the config file.

This doesn't work any more and on startup logback reports

Ignoring unknown property [jmxConfigurator] in [ch.qos.logback.classic.LoggerContext]

I can see that the related classes were deleted in a commit related to LOGBACK-1655

I can also see that the documentation refers to this as a "Legacy" feature

What I can't work out is if this functionality was removed without replacement? Is there some other library we need to pull in to get JMX functionality back?


Solution

  • based on info:

    https://logback.qos.ch/news.html

    2022-08-28 Release of logback versions 1.3.0 and 1.4.0

    Here is a list of changes with respect to the previous version.

    • The ch.qos.logback.classic.jmx package was removed for security reasons and for lack of use.