tools/slee-management-console/server/src/main/java/org/mobicents/slee/container/management/console/server/mbeans/LogManagementMBeanUtils.java
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));
    }
  }
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));
    }
  }
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.

@param loggerName
- name of the logger
@param handlerName
- handler name that has been added by this MBean
@return <ul>
<li><b>true</b> - if logger exists, and it was removed</li>
<li><b>false</b> - otherwise</li>
</ul>
Tries to remove handler from logger .