Examples of SetLogLevelParam


Examples of com.emc.vipr.model.sys.logging.SetLogLevelParam

     *        the IDs of the nodes. If null all nodes are changed.
     * @param logNames
     *        the names of the logs. If null all logs are changed.
     */
    public void setLogLevels(int severity, Collection<String> nodeIds, Collection<String> logNames) {
        SetLogLevelParam param = new SetLogLevelParam();
        param.setSeverity(severity);
        if ((nodeIds != null) && (nodeIds.size() > 0)) {
            param.setNodeIds(new ArrayList<String>(nodeIds));
        }
        if ((logNames != null) && (logNames.size() > 0)) {
            param.setLogNames(new ArrayList<String>(logNames));
        }
        setLogLevels(param);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.