Object Type = org.alfresco.enterprise.repo.management.Log4jManagement
This MBean is an instance of the Log4jManagement class that allows the creation of new loggers at runtime. It does not provide any editable attributes.
You can add a new logger by selecting the Operations > addLoggerMBean operation in JConsole and specifying the class name for the new logger MBean. A new MBean will be registered under the org.apache.logging.log4j2:type=<LogContextName>,component=Loggers component, allowing management of that logger.
It is not normally necessary to use this operation, because the server pre-registers all loggers initialized during startup. However, if the logger you’re interested in was not initialized at this point, you’ll have to add a logger, specifying the fully qualified name of the logger as an argument.
For example, if in Java class org.alfresco.repo.admin.patch.PatchExecuter the logger is initialized as follows:
private static Log logger = LogFactory.getLog(PatchExecuter.class);
Then the logger name would be org.alfresco.repo.admin.patch.PatchExecuter.