----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/759/#review976 -----------------------------------------------------------
Ship it!
Ship It!
- Radek Novacek
On Aug. 26, 2013, 2:16 p.m., Tomáš Bžatek wrote:
This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/759/
(Updated Aug. 26, 2013, 2:16 p.m.)
Review request for OpenLMI Developers.
Repository: openlmi-providers
Description
journald: Map the PRIORITY field to CIM_RecordForLog.PerceivedSeverity Records in journal may contain syslog-style priority value so let's use them. Unfortunately mapping the particular values between syslog and CIM classes is not linear, manual mapping is needed. The LOG_ERR may also map to PerceivedSeverity = Major but it's kept on Minor for the moment. If no such information is provided by the Journal, the CIM property is left unset for the particular record. See e.g. http://schemas.dmtf.org/wbem/cim-html/2.34.0/CIM_RecordForLog.html for valuemap description.
Diffs
src/journald/instutil.c PRE-CREATION
Diff: http://reviewboard-openlmi.rhcloud.com/r/759/diff/
Testing
Thanks,
Tomáš Bžatek