Moti Asayag has uploaded a new change for review.

Change subject: engine: Raise event log severity to warning
......................................................................

engine: Raise event log severity to warning

Since IMPORTEXPORT_IMPORT_VM_INVALID_INTERFACES audit log
describes a problem in the system, it should be marked with
a distinguishable severity to reflects its nature better.

Change-Id: I5ec6ab5f48a6ed2e34d976a383685231886a1e93
Bug-Url: http://bugzilla.redhat.com/870121
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/90/10790/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 61bf2b2..badfa07 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
@@ -626,7 +626,7 @@
         mSeverities.put(AuditLogType.IMPORTEXPORT_STARTING_REMOVE_VM, 
AuditLogSeverity.NORMAL);
         mSeverities.put(AuditLogType.IMPORTEXPORT_FAILED_TO_IMPORT_VM, 
AuditLogSeverity.WARNING);
         mSeverities.put(AuditLogType.IMPORTEXPORT_FAILED_TO_IMPORT_TEMPLATE, 
AuditLogSeverity.WARNING);
-        
mSeverities.put(AuditLogType.IMPORTEXPORT_IMPORT_VM_INVALID_INTERFACES, 
AuditLogSeverity.NORMAL);
+        
mSeverities.put(AuditLogType.IMPORTEXPORT_IMPORT_VM_INVALID_INTERFACES, 
AuditLogSeverity.WARNING);
         
mSeverities.put(AuditLogType.IMPORTEXPORT_IMPORT_TEMPLATE_INVALID_INTERFACES, 
AuditLogSeverity.NORMAL);
     }
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ec6ab5f48a6ed2e34d976a383685231886a1e93
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