tools/slee-management-console/server/src/main/java/org/mobicents/slee/container/management/console/server/mbeans/LogManagementMBeanUtils.java
public void clearLoggers(String name) throws ManagementConsoleException {

    try {
      this.mbeanServer.invoke(logMgmtMBeanName, "clearLoggers", new Object[] { name }, new String[] { "java.lang.String" });
    }
    catch (Exception e) {
      e.printStackTrace();
      throw new ManagementConsoleException(SleeManagementMBeanUtils.doMessage(e));
    }

  }
public void clearLoggers(String name) throws ManagementConsoleException {

    try {
      this.mbeanServer.invoke(logMgmtMBeanName, "clearLoggers", new Object[] { name }, new String[] { "java.lang.String" });
    }
    catch (Exception e) {
      e.printStackTrace();
      throw new ManagementConsoleException(SleeManagementMBeanUtils.doMessage(e));
    }

  }
public void clearLoggers ( String name ) throws ManagementConsoleException { try { this . mbeanServer . invoke ( logMgmtMBeanName , "clearLoggers" , new Object [ ] { name } , new String [ ] { "java.lang.String" } ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; throw new ManagementConsoleException ( SleeManagementMBeanUtils . doMessage ( e ) ) ; } }
Removes all loggers under certain branch.

@param name
- logger name(branch name)
Removes all loggers under certain branch .