When a node is back to normal, INFO seems enough
I think the other way round is acceptable as a WARNING.
I think when a node becomes available again, INFO is enough (even more
given Jenkins has INFO as displayed by default)
@@ -47,7 +47,7 @@ public abstract class AbstractDiskSpaceMonitor extends NodeMonitor {
if(size!=null && size.size > getThresholdBytes() && c.isOffline() && c.getOfflineCause() instanceof DiskSpace)
if(this.getClass().equals(((DiskSpace)c.getOfflineCause()).getTrigger()))
if(getDescriptor().markOnline(c)) {
- LOGGER.warning(Messages.DiskSpaceMonitor_MarkedOnline(c.getName()));
+ LOGGER.info(Messages.DiskSpaceMonitor_MarkedOnline(c.getName()));
}
return size;
}
