mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
rename logger to prevent merge forward conflict
This commit is contained in:
parent
8feecbc23b
commit
50d4cf9b7d
@ -41,7 +41,7 @@ import javax.inject.Inject;
|
|||||||
import java.security.InvalidParameterException;
|
import java.security.InvalidParameterException;
|
||||||
|
|
||||||
public final class KVMHAProvider extends HAAbstractHostProvider implements HAProvider<Host>, Configurable {
|
public final class KVMHAProvider extends HAAbstractHostProvider implements HAProvider<Host>, Configurable {
|
||||||
private final static Logger LOG = Logger.getLogger(KVMHAProvider.class);
|
private final static Logger logger = Logger.getLogger(KVMHAProvider.class);
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
protected KVMHostActivityChecker hostActivityChecker;
|
protected KVMHostActivityChecker hostActivityChecker;
|
||||||
@ -76,11 +76,11 @@ public final class KVMHAProvider extends HAAbstractHostProvider implements HAPro
|
|||||||
final OutOfBandManagementResponse resp = outOfBandManagementService.executePowerOperation(r, PowerOperation.RESET, null);
|
final OutOfBandManagementResponse resp = outOfBandManagementService.executePowerOperation(r, PowerOperation.RESET, null);
|
||||||
return resp.getSuccess();
|
return resp.getSuccess();
|
||||||
} else {
|
} else {
|
||||||
LOG.warn("OOBM recover operation failed for the host " + r.getName());
|
logger.warn("OOBM recover operation failed for the host " + r.getName());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} catch (Exception e){
|
} catch (Exception e){
|
||||||
LOG.warn("OOBM service is not configured or enabled for this host " + r.getName() + " error is " + e.getMessage());
|
logger.warn("OOBM service is not configured or enabled for this host " + r.getName() + " error is " + e.getMessage());
|
||||||
throw new HARecoveryException(" OOBM service is not configured or enabled for this host " + r.getName(), e);
|
throw new HARecoveryException(" OOBM service is not configured or enabled for this host " + r.getName(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user