public void changeAlertLevel(String alertLevel) throws Exception {
    if (alertLevel.equalsIgnoreCase("WARNING") || alertLevel.equalsIgnoreCase("ERROR")
        || alertLevel.equalsIgnoreCase("SEVERE") || alertLevel.equalsIgnoreCase("NONE")) {
      this.alertLevel = alertLevel;
      service.getFederatingManager().getMessenger().setAlertLevel(alertLevel);
    } else {
      throw new Exception("Unknown log-level \"" + alertLevel
          + "\". Valid levels are: WARNING, ERROR, SEVERE, NONE");
    }
  }
@param alertLevel Minimum level for alerts to be delivered to listeners. Should be one of:
       WARNING, ERROR, SEVERE, NONE. It is not case-sensitive.
geode-core/src/main/java/org/apache/geode/management/internal/beans/DistributedSystemBridge.java