aboutsummaryrefslogtreecommitdiffstats
path: root/log-forward
AgeCommit message (Expand)AuthorFilesLines
2022-05-11log-forward: RouterOS v7 path syntaxGravatar Christian Hesse1-3/+3
2022-01-01update copyright for 2022Gravatar Christian Hesse1-1/+1
2021-12-17log-forward: fix forwarding first message...Pulling the power cable results in log message on next boot: dec/16 18:28:28 system,error,critical router rebooted without proper shutdown, probably power outage This was not forwarded as it had the numeric id 0, which is not greater than the zero we initialized with. Now initialized with -1 when no log has been forwarded to fix this. Gravatar Christian Hesse1-1/+1
2021-06-15log-forward: use $HexToNum, do not resend old messages...Now we know the order of messages and can compare. Changing the filter does no longer result in old messages being resent. Gravatar Christian Hesse1-6/+3
2021-06-09log-forward: implement reverse logic to include messages......... even if a filter matches to exclude them. Let's have an example: :global LogForwardFilter "(debug|info)"; :global LogForwardInclude "account"; This will forward everything about topic *account* (login, logout, failed login, ...) - even with topic *info*. change-55Gravatar Christian Hesse1-2/+5
2021-04-28log-forward: pass origin to $SendNotification2Gravatar Christian Hesse1-1/+2
2021-04-28log-forward: use $SendNotification2Gravatar Christian Hesse1-6/+6
2021-03-17log-forward: use $EscapeForRegExGravatar Christian Hesse1-4/+4
2021-03-15log-forward: filter e-mail error on log forwarding in script......... and update the filter in global configuration. Gravatar Christian Hesse1-1/+7
2021-03-04log-forward: list messages with 'black circle'Gravatar Christian Hesse1-2/+3
2021-03-04log-forward: skip multi-repeated messagesGravatar Christian Hesse1-4/+15
2021-02-24global: use $0 for $ScriptLockGravatar Christian Hesse1-1/+1
2021-02-24global: give script or function name in log messagesGravatar Christian Hesse1-2/+3
2021-02-18global: drop script 'global-wait'...All scripts wait for the global functions on their own now. change-44Gravatar Christian Hesse1-0/+3
2021-02-16global-functions: drop $MailServerIsUp...Now that we have an e-mail queue we do not care if the server is up or not. Gravatar Christian Hesse1-5/+0
2021-01-01update copyright for 2021Gravatar Christian Hesse1-1/+1
2020-12-14log-forward: add 'if any' in log messageGravatar Christian Hesse1-1/+1
2020-10-18log-forward: improve wording for single messageGravatar Christian Hesse1-2/+4
2020-09-28log-forward: add rate limit to prevent floodingGravatar Christian Hesse1-0/+15
2020-09-28log-forward: fix usage of functionGravatar Christian Hesse1-1/+1
2020-09-25log-forward: add filter on log message textchange-29Gravatar Christian Hesse1-1/+2
2020-09-18extend magic pattern with "by RouterOS"...This matches the string included in export. Gravatar Christian Hesse1-1/+1
2020-07-17log-forward: lock script to run just onceGravatar Christian Hesse1-0/+3
2020-07-17global-functions: introduce and use $SymbolForNotificationchange-24Gravatar Christian Hesse1-2/+2
2020-07-17log-forward: use $SymbolByUnicodeNameGravatar Christian Hesse1-1/+2
2020-07-15log-forward: remember the last id onlyGravatar Christian Hesse1-2/+2
2020-07-15add 'log-forward', drop 'early-errors'change-23Gravatar Christian Hesse1-0/+47