From 4afe0f18f7ec45fb777f67ca445c6c20ecd250d2 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sat, 14 Sep 2024 21:19:48 +0200 Subject: [PATCH] journalwatch: include messages of info priority --- modules/journalwatch.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/journalwatch.nix b/modules/journalwatch.nix index 7413e23..3d3f889 100644 --- a/modules/journalwatch.nix +++ b/modules/journalwatch.nix @@ -43,8 +43,10 @@ mailTo = "daniel+journalwatch@systemli.org"; #interval = "hourly"; - # Lowest priority of message to be considered. A value between 7 (“debug”), and 0 (“emerg”). Defaults to 6 (“info”). If you don't care about anything with “info” priority, you can reduce this to e.g. 5 (“notice”) to considerably reduce the amount of messages without needing many filterBlocks. - priority = 5; + # Lowest priority of message to be considered. + # A value between 7 (“debug”), and 0 (“emerg”). + # Defaults to 6 (“info”). If you don't care about anything with “info” priority, you can reduce this to e.g. 5 (“notice”) to considerably reduce the amount of messages without needing many filterBlocks. + priority = 6; # Default patterns: https://github.com/The-Compiler/journalwatch/blob/363725ac4b8aa841d87654fa8a63403a59ad1275/journalwatch.py#L71 # If the value of `match` starts and ends with a forward-slash, it is interpreted as a regular expression, if not, it's an exact match.