From 1bce625ca931671978774eb7ada728bb82bc48db Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 24 Apr 2020 23:31:21 +0200 Subject: early-errors: ... and exclude dns messages Using DoH (DNS over HTTPS) results in a number of error messages before network becomes available: dns;error DoH server connection error: Network is unreachable Exclude these. --- early-errors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/early-errors b/early-errors index 36cc23e..f2793fc 100644 --- a/early-errors +++ b/early-errors @@ -9,7 +9,7 @@ :global SendNotification; -:local Errors [ / log find where (topics~"error" or topics~"critical") !(topics~"e-mail") ]; +:local Errors [ / log find where (topics~"error" or topics~"critical") !(topics~"e-mail") !(topics~"dns") ]; :local ErrCount [ :len $Errors ]; :if ($ErrCount > 0) do={ :local Message ("The log on " . $Identity . " contains " . $ErrCount . \ -- cgit v1.2.3-54-g00ecf