level() or priority()

Synopsis:level() or level(..)

Description: The level() filter selects messages corresponding to a single importance level, or a level-range. To select messages of a specific level, use the name of the level as a filter parameter, for example, use the following to select warning messages:


To select a range of levels, include the beginning and the ending level in the filter, separated with two dots (..). For example, to select every message of error or higher level, use the following filter:


The level() filter accepts the following levels: emerg, alert, crit, err, warning, notice, info, debug.