Fixed inconsistency with SeverityLabel in ovs
Change-Id: I53182a4178095d2337fb8ebf795c209c7ec9668e Closes-Bug: 1625224
This commit is contained in:
parent
e411000414
commit
eb36e6d794
|
@ -69,6 +69,10 @@ function process_message ()
|
||||||
local m = ovs_grammar:match(log)
|
local m = ovs_grammar:match(log)
|
||||||
if not m then return -1 end
|
if not m then return -1 end
|
||||||
|
|
||||||
|
if m.SeverityLabel == "WARN" then
|
||||||
|
m.SeverityLabel = "WARNING"
|
||||||
|
end
|
||||||
|
|
||||||
msg.Timestamp = m.Timestamp
|
msg.Timestamp = m.Timestamp
|
||||||
msg.Logger = service
|
msg.Logger = service
|
||||||
msg.Payload = m.Message
|
msg.Payload = m.Message
|
||||||
|
|
Loading…
Reference in New Issue