diff options
author | Christian Hesse <mail@eworm.de> | 2020-04-24 23:31:21 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-04-24 23:34:39 +0200 |
commit | 1bce625ca931671978774eb7ada728bb82bc48db (patch) | |
tree | 24eb8af5f47e4197f60ad3ab87e9bbda3141da71 /early-errors | |
parent | fee2c4d4ad960f1c98f78bbee1891412ca2342ac (diff) |
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.
Diffstat (limited to 'early-errors')
-rw-r--r-- | early-errors | 2 |
1 files changed, 1 insertions, 1 deletions
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 . \ |