use of org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase in project ovirt-engine by oVirt.
the class VmAnalyzer method auditVmOnDownNormal.
private void auditVmOnDownNormal(boolean powerOff) {
AuditLogableBase logable = Injector.injectMembers(new AuditLogableBase(vdsManager.getVdsId(), getVmId()));
logable.addCustomValue("ExitMessage", !powerOff && vdsmVm.getVmDynamic().getExitMessage() != null ? "Exit message: " + vdsmVm.getVmDynamic().getExitMessage() : " ");
auditLog(logable, AuditLogType.VM_DOWN);
}
use of org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase in project ovirt-engine by oVirt.
the class VmAnalyzer method auditVmRecoveredFromError.
private void auditVmRecoveredFromError() {
AuditLogableBase logable = Injector.injectMembers(new AuditLogableBase(vdsManager.getVdsId(), dbVm.getId()));
auditLog(logable, AuditLogType.VM_RECOVERED_FROM_PAUSE_ERROR);
}
Aggregations