add notice to levels defined in formats

This commit is contained in:
Timothy Stack 2019-05-03 15:02:09 -07:00
parent fc9f9f43cf
commit a648657ff3
1 changed files with 1 additions and 1 deletions

View File

@ -600,7 +600,7 @@ struct json_path_handler format_handlers[] = {
.with_description("Indicates that the order of messages in the file is time-based.")
.FOR_FIELD(log_format, lf_time_ordered),
json_path_handler("level/"
"(trace|debug\\d*|info|stats|warning|error|critical|fatal)")
"(trace|debug\\d*|info|stats|notice|warning|error|critical|fatal)")
.add_cb(read_levels)
.add_cb(read_level_int)
.with_synopsis("<pattern|integer>")