File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/kvm/ha Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,18 +89,18 @@ public boolean fence(Host r) throws HAFenceException {
8989 if (r != null && outOfBandManagementService .isOutOfBandManagementEnabled (r )) {
9090 // check host status
9191 if (Host .Status .DOWN .equals (r .getStatus ())) {
92- LOG .info ("Host " + r .getName () + " is already down. Returning success." );
92+ logger .info ("Host " + r .getName () + " is already down. Returning success." );
9393 return true ;
9494 } else {
9595 final OutOfBandManagementResponse resp = outOfBandManagementService .executePowerOperation (r , PowerOperation .OFF , null );
9696 return resp .getSuccess ();
9797 }
9898 } else {
99- LOG .warn ("OOBM fence operation failed for this host " + r .getName ());
99+ logger .warn ("OOBM fence operation failed for this host " + r .getName ());
100100 return false ;
101101 }
102102 } catch (Exception e ) {
103- LOG .warn ("OOBM service is not configured or enabled for this host " + r .getName () + " error is " + e .getMessage ());
103+ logger .warn ("OOBM service is not configured or enabled for this host " + r .getName () + " error is " + e .getMessage ());
104104 throw new HAFenceException ("OBM service is not configured or enabled for this host " + r .getName (), e );
105105 }
106106 }
You can’t perform that action at this time.
0 commit comments