public List < String > getLoggerNames ( String regex ) throws ManagementConsoleException { try { return ( List < String > ) this . mbeanServer . invoke ( logMgmtMBeanName , "getLoggerNames" , new Object [ ] { regex } , new String [ ] { "java.lang.String" } ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; throw new ManagementConsoleException ( SleeManagementMBeanUtils . doMessage ( e ) ) ; } }
SImilar to LoggingMXBean return list of available loggers . Filter is string that has to occur in loggers name .