aboutsummaryrefslogtreecommitdiffstats
path: root/log-forward
AgeCommit message (Collapse)AuthorFilesLines
2023-01-02update copyright for 2023Gravatar Christian Hesse1-1/+1
2022-07-13log-forward: update initialization of empty arrayGravatar Christian Hesse1-1/+1
Having the parenthesis here is important for valid syntax!
2022-06-08log-forward: fix the pattern excluding mail errorsGravatar Christian Hesse1-4/+5
This looked smart, but did not work... 🤪 Unicode characters have to be in place to make $QuotedPrintable have an effect. So fix it... We have duplicate pattern if symbols are disabled, but that does not hurt.
2022-06-02log-forward: inform about rate limit in notificationGravatar Christian Hesse1-5/+7
2022-06-02log-forward: use warning-sign for severity warning and upGravatar Christian Hesse1-4/+11
2022-05-20log-forward: change symbol for notificationGravatar Christian Hesse1-2/+2
2022-05-16log-forward: do *not* wait to be fully connectedGravatar Christian Hesse1-3/+0
Let's forward logs as early as possible. All notification functions are expected to handle notifications with queues, so nothing is lost. Just the opposite: Logs being rotated before forwarding becomes less likely.
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 messageGravatar Christian Hesse1-1/+1
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.
2021-06-15log-forward: use $HexToNum, do not resend old messagesGravatar Christian Hesse1-6/+3
Now we know the order of messages and can compare. Changing the filter does no longer result in old messages being resent.
2021-06-09log-forward: implement reverse logic to include messages...change-55Gravatar Christian Hesse1-2/+5
... 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*.
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...Gravatar Christian Hesse1-1/+7
... and update the filter in global configuration.
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'change-44Gravatar Christian Hesse1-0/+3
All scripts wait for the global functions on their own now.
2021-02-16global-functions: drop $MailServerIsUpGravatar Christian Hesse1-5/+0
Now that we have an e-mail queue we do not care if the server is up or not.
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"Gravatar Christian Hesse1-1/+1
This matches the string included in export.
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