public void logLevelChanged(LogLevelChangeEvent event)
throws AdminEventListenerException
{
try {
if( event.isPropertyChanged() ) {
ConfigContext newConfig = event.getConfigContext();
Iterator iter = event.getConfigChangeList().iterator();
// Get logger extension Feature
LoggerExtensionFeature lef = AdminService.getLoggerExtensionFeature();
while (iter.hasNext() ) {
Object change= iter.next();
if (change instanceof ConfigAdd || change instanceof ConfigUpdate) {
String xpath = ((ConfigChange)change).getXPath();
if( xpath != null){
ConfigBean item = newConfig.exactLookup(xpath);
if (item instanceof ElementProperty) {
ElementProperty elementProperty = (ElementProperty)item;
String loggerName = elementProperty.getName();
loggerName = lef.getLoggerName(loggerName);
String logLevel = elementProperty.getValue();