public boolean removeHandler ( String loggerName , String handlerName ) throws ManagementConsoleException { try { return ( ( Boolean ) this . mbeanServer . invoke ( logMgmtMBeanName , "removeHandler" , new Object [ ] { loggerName , handlerName } , new String [ ] { "java.lang.String" , "java.lang.String" } ) ) . booleanValue ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; throw new ManagementConsoleException ( SleeManagementMBeanUtils . doMessage ( e ) ) ; } }
Tries to remove handler from logger .