mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
log-forward: do not forward own e-mail logs
Revert the last change, instead just ignore messages that were generated by log-forward, with "Log Forwarding" in subject.
This commit is contained in:
parent
24eb2c15a9
commit
d2fab050ba
1 changed files with 2 additions and 2 deletions
|
@ -51,9 +51,9 @@
|
||||||
:global BackupUploadPass "v3ry-s3cr3t";
|
:global BackupUploadPass "v3ry-s3cr3t";
|
||||||
|
|
||||||
# This defines a filter on log topics not to be forwarded.
|
# This defines a filter on log topics not to be forwarded.
|
||||||
:global LogForwardFilter "(debug|info|e-mail|script)";
|
:global LogForwardFilter "(debug|info|script)";
|
||||||
# ... and the same for log message text.
|
# ... and the same for log message text.
|
||||||
:global LogForwardFilterMessage "^\$";
|
:global LogForwardFilterMessage "^\$|^Error sending e-mail <.* Log Forwarding>:";
|
||||||
#:global LogForwardFilterMessage "(^\$|message text|...)";
|
#:global LogForwardFilterMessage "(^\$|message text|...)";
|
||||||
|
|
||||||
# Specify an address to enable auto update to version assumed safe.
|
# Specify an address to enable auto update to version assumed safe.
|
||||||
|
|
Loading…
Reference in a new issue