use of org.mule.runtime.core.internal.logging.LogConfigChangeSubject in project mule by mulesoft.
the class MessageProcessingFlowTraceManager method initialise.
@Override
public void initialise() throws InitialisationException {
LoggerContext context = LogManager.getContext(false);
if (context != null && context instanceof LogConfigChangeSubject) {
((LogConfigChangeSubject) context).registerLogConfigChangeListener(logConfigChangeListener);
}
handleNotificationListeners();
}
use of org.mule.runtime.core.internal.logging.LogConfigChangeSubject in project mule by mulesoft.
the class MessageProcessingFlowTraceManager method dispose.
@Override
public void dispose() {
LoggerContext context = LogManager.getContext(false);
if (context != null && context instanceof LogConfigChangeSubject) {
((LogConfigChangeSubject) context).unregisterLogConfigChangeListener(logConfigChangeListener);
}
removeNotificationListeners();
}
Aggregations