Moti Asayag has uploaded a new change for review.

Change subject: engine: Set proper severity to a failed command
......................................................................

engine: Set proper severity to a failed command

The audit log of commit networks changes failure
should be changed to error to reflect its true
nature.

Change-Id: Ib7254bc1506d57edc158d034c7d06fe6e1e9c5c7
Bug-Url: https://bugzilla.redhat.com/1061727
Signed-off-by: Moti Asayag <masa...@redhat.com>
---
M 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogDirector.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/24/24124/1

diff --git 
a/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogDirector.java
 
b/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogDirector.java
index d4cc83f..44ea0a7 100644
--- 
a/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogDirector.java
+++ 
b/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogDirector.java
@@ -809,7 +809,7 @@
         severities.put(AuditLogType.NETWORK_HOST_USING_WRONG_CLUSER_VLAN, 
AuditLogSeverity.WARNING);
         severities.put(AuditLogType.NETWORK_HOST_MISSING_CLUSER_VLAN, 
AuditLogSeverity.WARNING);
         severities.put(AuditLogType.NETWORK_COMMINT_NETWORK_CHANGES, 
AuditLogSeverity.NORMAL);
-        severities.put(AuditLogType.NETWORK_COMMINT_NETWORK_CHANGES_FAILED, 
AuditLogSeverity.NORMAL);
+        severities.put(AuditLogType.NETWORK_COMMINT_NETWORK_CHANGES_FAILED, 
AuditLogSeverity.ERROR);
         severities.put(AuditLogType.MAC_POOL_EMPTY, AuditLogSeverity.WARNING);
         severities.put(AuditLogType.MAC_ADDRESS_IS_IN_USE, 
AuditLogSeverity.WARNING);
         severities.put(AuditLogType.MAC_ADDRESS_IS_IN_USE_UNPLUG, 
AuditLogSeverity.WARNING);


-- 
To view, visit http://gerrit.ovirt.org/24124
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib7254bc1506d57edc158d034c7d06fe6e1e9c5c7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masa...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to