Fixed inconsistency with SeverityLabel in ovs

Change-Id: I53182a4178095d2337fb8ebf795c209c7ec9668e
Closes-Bug: 1625224
This commit is contained in:
Proskurin Kirill 2016-09-20 12:03:51 +00:00
parent e411000414
commit eb36e6d794
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ function process_message ()
local m = ovs_grammar:match(log)
if not m then return -1 end
if m.SeverityLabel == "WARN" then
m.SeverityLabel = "WARNING"
end
msg.Timestamp = m.Timestamp
msg.Logger = service
msg.Payload = m.Message