for(Appender appender:appenderSet){
if (appender instanceof AppenderSkeleton) {
AppenderSkeleton appenderSkeleton = (AppenderSkeleton) appender;
appenderSkeleton.setThreshold(systemLevel);
appenderSkeleton.setLayout(patternLayout);
appenderSkeleton.activateOptions();
}
}
// update the appender data stored in the registry
Collection appenderCollection = registryManager.getAppenders();