Merge remote-tracking branch 'origin/topic/jsiwek/syslog-missing-pri'

* origin/topic/jsiwek/syslog-missing-pri:
  Make Syslog analyzer accept messages that omit Priority
This commit is contained in:
Johanna Amann 2019-04-03 09:08:58 -07:00
commit 210a4361fa
9 changed files with 61 additions and 14 deletions

View file

@ -29,6 +29,7 @@ export {
[21] = "LOCAL5",
[22] = "LOCAL6",
[23] = "LOCAL7",
[999] = "UNSPECIFIED",
} &default=function(c: count): string { return fmt("?-%d", c); };
## Mapping between the constants and string values for syslog severities.
@ -41,5 +42,6 @@ export {
[5] = "NOTICE",
[6] = "INFO",
[7] = "DEBUG",
[999] = "UNSPECIFIED",
} &default=function(c: count): string { return fmt("?-%d", c); };
}
}