use of org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableImpl in project ovirt-engine by oVirt.
the class AutodefineExternalNetworkCommand method getWarningMessage.
private AuditLogable getWarningMessage(Cluster cluster) {
AuditLogable event = new AuditLogableImpl();
event.setClusterName(cluster.getName());
event.addCustomValue("NetworkName", getNetwork().getName());
return event;
}
use of org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableImpl in project ovirt-engine by oVirt.
the class SchedulingManager method createEventForCluster.
private AuditLogable createEventForCluster(Cluster cluster) {
AuditLogable logable = new AuditLogableImpl();
logable.setClusterName(cluster.getName());
logable.setClusterId(cluster.getId());
return logable;
}
use of org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableImpl in project ovirt-engine by oVirt.
the class ExternalSchedulerBrokerImpl method auditLogFailedToConnect.
private void auditLogFailedToConnect() {
AuditLogable loggable = new AuditLogableImpl();
auditLogDirector.log(loggable, AuditLogType.FAILED_TO_CONNECT_TO_SCHEDULER_PROXY);
}
use of org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableImpl in project ovirt-engine by oVirt.
the class ExternalSchedulerBrokerObjectBuilder method auditLogPluginError.
private static void auditLogPluginError(String pluginName, String errorMessage) {
AuditLogable loggable = new AuditLogableImpl();
loggable.addCustomValue("PluginName", pluginName);
loggable.addCustomValue("ErrorMessage", errorMessage);
auditLogDirector.log(loggable, AuditLogType.EXTERNAL_SCHEDULER_PLUGIN_ERROR);
}
use of org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableImpl in project ovirt-engine by oVirt.
the class ExternalSchedulerBrokerObjectBuilder method auditLogExternalSchedulerError.
private static void auditLogExternalSchedulerError(String errorMessage) {
AuditLogable loggable = new AuditLogableImpl();
loggable.addCustomValue("ErrorMessage", errorMessage);
auditLogDirector.log(loggable, AuditLogType.EXTERNAL_SCHEDULER_ERROR);
}
Aggregations