aboutsummaryrefslogtreecommitdiffstats
path: root/global-config
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-03-15 00:48:38 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-03-15 12:40:14 +0100
commitbaa096fe03440725f8b72912daa3df7c30a6dbc0 (patch)
tree4868627cac52be7322387b4c60e25685352d74ea /global-config
parentd00f18dc8c94bbeff2e3fd981ae4b9e29e570152 (diff)
log-forward: filter e-mail error on log forwarding in script...
... and update the filter in global configuration.
Diffstat (limited to 'global-config')
-rw-r--r--global-config8
1 files changed, 5 insertions, 3 deletions
diff --git a/global-config b/global-config
index f713b5c..107ef19 100644
--- a/global-config
+++ b/global-config
@@ -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.