mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Made the changes to improve logging.
This commit is contained in:
parent
227ff3884d
commit
cd9c7737d1
@ -1231,9 +1231,9 @@ public class AgentManagerImpl extends ManagerBase implements AgentManager, Handl
|
||||
} else if (cmd instanceof PingCommand) {
|
||||
logD = false;
|
||||
s_logger.debug("Ping from " + hostId + "(" + hostName + ")");
|
||||
s_logger.trace("SeqA " + attache.getId() + "-" + request.getSequence() + ": Processing " + request);
|
||||
s_logger.trace("SeqA " + hostId + "-" + request.getSequence() + ": Processing " + request);
|
||||
} else {
|
||||
s_logger.debug("SeqA " + attache.getId() + "-" + request.getSequence() + ": Processing " + request);
|
||||
s_logger.debug("SeqA " + hostId + "-" + request.getSequence() + ": Processing " + request);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -3355,7 +3355,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
|
||||
}
|
||||
|
||||
if (fromHost.getClusterId().longValue() != dest.getCluster().getId()) {
|
||||
s_logger.info("Source and destination host are not in same cluster, unable to migrate to host: " + dest.getHost().getId());
|
||||
s_logger.info("Source and destination host are not in same cluster, unable to migrate to host: " + dstHostId);
|
||||
throw new CloudRuntimeException("Source and destination host are not in same cluster, unable to migrate to host: " + dest.getHost().getId());
|
||||
}
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ public class KVMHAChecker extends KVMHABase implements Callable<Boolean> {
|
||||
s_logger.debug("reture: " + result);
|
||||
s_logger.debug("parser: " + parser.getLine());
|
||||
if (result == null && parser.getLine().contains("> DEAD <")) {
|
||||
s_logger.debug("read heartbeat failed: " + result);
|
||||
s_logger.debug("read heartbeat failed: ");
|
||||
results.add(false);
|
||||
} else {
|
||||
results.add(true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user