Skip to content

Commit

Permalink
journal probe: filter LOG_EMERG logs as well
Browse files Browse the repository at this point in the history
I omitted log level 0 from the filter, so add it here.

Signed-off-by: Patrick McCarty <[email protected]>
  • Loading branch information
phmccarty committed Jan 20, 2017
1 parent 6536ecb commit 92059d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/probes/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ static bool add_filters(sd_journal *journal)
MATCH(data);
free(data);
AND;
// The three highest log levels, all indicating errors
// The four highest log levels, all indicating errors
MATCH("PRIORITY=0");
MATCH("PRIORITY=1");
MATCH("PRIORITY=2");
MATCH("PRIORITY=3");
Expand Down

0 comments on commit 92059d7

Please sign in to comment.