* 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);
}