mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-03 17:54:41 +02:00
log-forward: add filter on log message text
This commit is contained in:
parent
c3ea555233
commit
697e32a306
6 changed files with 11 additions and 5 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
# Make sure all configuration properties are up to date and this
|
||||
# value is in sync with value in script 'global-functions'!
|
||||
:global GlobalConfigVersion 28;
|
||||
:global GlobalConfigVersion 29;
|
||||
|
||||
# This is used for DNS and backup file.
|
||||
:global Domain "example.com";
|
||||
|
@ -48,6 +48,9 @@
|
|||
|
||||
# This defines a filter on log topics not to be forwarded.
|
||||
:global LogForwardFilter "(debug|info|script)";
|
||||
# ... and the same for log message text.
|
||||
:global LogForwardFilterMessage "^\$";
|
||||
#:global LogForwardFilterMessage "(^\$|message text|...)";
|
||||
|
||||
# Specify an address to enable auto update to version assumed safe.
|
||||
# The configured channel (bugfix, current, release-candidate) is appended.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue