Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1408159

Summary: [RFE] Add log_type and log_name to engine events logs.
Product: [oVirt] ovirt-engine Reporter: Shirly Radco <sradco>
Component: GeneralAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Aleksei Slaikovskii <aslaikov>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0CC: bugs, gklein, mgoldboi, mperina, oourfali, ylavi
Target Milestone: ovirt-4.1.0-betaKeywords: FutureFeature
Target Release: 4.1.0.2Flags: rule-engine: ovirt-4.1+
rule-engine: exception+
gklein: testing_plan_complete-
ylavi: planning_ack+
mperina: devel_ack+
pstehlik: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-15 14:59:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shirly Radco 2016-12-22 10:42:11 UTC
Description of problem:
In order to be able to analyze events we would like to be able to filter events by event_id. The event ID is missing from the logs and should be added.

Comment 2 Shirly Radco 2017-01-10 11:39:05 UTC
After reviewing the engine events, we would need to add to the logs log_type. The numeric value that represents the type of the event and not audit_log_id.

The audit_log_id is a serial number that is generated by the database and will not help us with analyzing the events.

Comment 3 Aleksei Slaikovskii 2017-02-01 14:42:39 UTC
Verified on ovirt-engine-4.1.1-0.0.master.20170201124236.git503df00.el7.centos.noarch

INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-5) [0a57cbd7-9071-4a22-bb03-3bf844f1b4ed] EVENT_ID: USER_REMOVE_VM_FINISHED(113), Correlation ID: 0a57cbd7-9071-4a22-bb03-3bf844f1b4ed, Job ID: 7ab1dad3-7e26-4159-8c44-8823d7935fef, Call Stack: null, Custom Event ID: -1, Message: VM 123 was successfully removed.