aboutsummaryrefslogtreecommitdiffstats
path: root/early-errors
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-07-06 16:04:08 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-07-06 16:04:08 +0200
commite1b45f13f5f415a0422d88921b07e2f667d6f396 (patch)
tree7a12c5aaef5893f8a211dd38127f4a9432f066d1 /early-errors
parent8dadde23f3eab2918a9d02e58ba4156f0a77d079 (diff)
early-errors: exclude certificate messages
This is most likely SCEP requests before network is up...
Diffstat (limited to 'early-errors')
-rw-r--r--early-errors3
1 files changed, 2 insertions, 1 deletions
diff --git a/early-errors b/early-errors
index 015767a..a2c5da3 100644
--- a/early-errors
+++ b/early-errors
@@ -13,7 +13,8 @@
$WaitFullyConnected;
-:local Errors [ / log find where (topics~"error" or topics~"critical") !(topics~"e-mail") !(topics~"dns") ];
+:local Errors [ / log find where (topics~"error" or topics~"critical") \
+ !(topics~"certificate") !(topics~"dns") !(topics~"e-mail") ];
:local ErrCount [ :len $Errors ];
:if ($ErrCount > 0) do={
:local Message ("The log on " . $Identity . " contains " . $ErrCount . \