Shaib, That whole package was never ported into the log4j-1.2-api module.
I just added the missing package for API binary compatibility. Do note the package Javadoc: "This package lets you manage log4j settings using JMX. It is unfortunately not of production quality." There is no testing for behavioral compatibility, this is currently only to avoid class not found errors. It is unlikely to work as expected. You can find this code in the 'release-2.x' branch and snapshot builds on https://repository.apache.org/content/repositories/snapshots/ Gary On Mon, Mar 21, 2022 at 5:13 PM Shaib Al-Agily <shaib_al-ag...@navyfederal.org.invalid> wrote: > Hello, > > Per Apache's website recommendations, our company is in the process of > migrating some of its applications from log4j-1.2.14 to log4j-core-2.17.1. > > Class "org.apache.logging.log4j.jmx.HierarchyDynamicMBean" is referenced > in one of our application and that is generating an error. It appears class > org.apache.logging.log4j.jmx.HierarchyDynamicMBean is not implemented in > log4j 2. > > Questions: > 1. Is the class > org.apache.logging.log4j.jmx.HierarchyDynamicMBean implemented in log4j 2? > Where? > 2. Is it merged in another class? > 3. Is there an alternative class/solution? > > Thank you very much > > Shaib > > >