Bug 1408159 - [RFE] Add log_type and log_name to engine events logs.
Summary: [RFE] Add log_type and log_name to engine events logs.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.0-beta
: 4.1.0.2
Assignee: Ravi Nori
QA Contact: Aleksei Slaikovskii
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-22 10:42 UTC by Shirly Radco
Modified: 2017-02-15 14:59 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-15 14:59:58 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: exception+
gklein: testing_plan_complete-
ylavi: planning_ack+
mperina: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 69715 0 master MERGED engine: Add event ID to engine events logs 2017-01-13 16:19:52 UTC
oVirt gerrit 70377 0 ovirt-engine-4.1 MERGED engine: Add event ID to engine events logs 2017-01-13 18:47:32 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.