log-forward: filter e-mail error on log forwarding in script...

... and update the filter in global configuration.
This commit is contained in:
Christian Hesse 2021-03-15 00:48:38 +01:00
parent d00f18dc8c
commit baa096fe03
2 changed files with 12 additions and 4 deletions

View file

@ -55,9 +55,11 @@
# This defines a filter on log topics not to be forwarded.
:global LogForwardFilter "(debug|info)";
# ... and the same for log message text.
:global LogForwardFilterMessage "(^\$|^Error sending e-mail .* Log Forwarding)";
#:global LogForwardFilterMessage "(^\$|message text|...)";
# ... and the same for log message text. Regular expressions are supported.
# Do *NOT* set an empty string - that will filter everything!
:global LogForwardFilterMessage [];
#:global LogForwardFilterMessage "message text";
#:global LogForwardFilterMessage "(message text|another text|...)";
# Specify an address to enable auto update to version assumed safe.
# The configured channel (bugfix, current, release-candidate) is appended.