diff options
author | Christian Hesse <mail@eworm.de> | 2020-04-24 23:17:21 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-04-24 23:34:39 +0200 |
commit | fee2c4d4ad960f1c98f78bbee1891412ca2342ac (patch) | |
tree | 43500f78a351e078df453a89d605e2e827216ba5 /early-errors | |
parent | 7c288c6203c52eeecc63d6847582cc6d8dd77b74 (diff) |
early-errors: ... but exclude e-mail messages
Most likely these are just error and critical messages failed sending anyway.
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 2660bd1..36cc23e 100644 --- a/early-errors +++ b/early-errors @@ -9,7 +9,7 @@ :global SendNotification; -:local Errors [ / log find where topics~"error" or topics~"critical" ]; +:local Errors [ / log find where (topics~"error" or topics~"critical") !(topics~"e-mail") ]; :local ErrCount [ :len $Errors ]; :if ($ErrCount > 0) do={ :local Message ("The log on " . $Identity . " contains " . $ErrCount . \ |