Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-01-20 | log-forward: cache the result of $LogForwardFilterLogForwarding | Christian Hesse | 1 | -1/+2 | |
Looks like the function is called for every message to match otherwise. 😳 | |||||
2023-01-11 | log-forward: do not declare unused function | Christian Hesse | 1 | -1/+0 | |
2023-01-11 | log-forward: generate filter in mod/notification-email | Christian Hesse | 1 | -8/+4 | |
2023-01-02 | update copyright for 2023 | Christian Hesse | 1 | -1/+1 | |
2022-07-13 | log-forward: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-06-08 | log-forward: fix the pattern excluding mail errors | Christian Hesse | 1 | -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-02 | log-forward: inform about rate limit in notification | Christian Hesse | 1 | -5/+7 | |
2022-06-02 | log-forward: use warning-sign for severity warning and up | Christian Hesse | 1 | -4/+11 | |
2022-05-20 | log-forward: change symbol for notification | Christian Hesse | 1 | -2/+2 | |
2022-05-16 | log-forward: do *not* wait to be fully connected | Christian Hesse | 1 | -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-11 | log-forward: RouterOS v7 path syntax | Christian Hesse | 1 | -3/+3 | |
2022-01-01 | update copyright for 2022 | Christian Hesse | 1 | -1/+1 | |
2021-12-17 | log-forward: fix forwarding first message | Christian Hesse | 1 | -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-15 | log-forward: use $HexToNum, do not resend old messages | Christian Hesse | 1 | -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-09 | log-forward: implement reverse logic to include messages...change-55 | Christian Hesse | 1 | -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-28 | log-forward: pass origin to $SendNotification2 | Christian Hesse | 1 | -1/+2 | |
2021-04-28 | log-forward: use $SendNotification2 | Christian Hesse | 1 | -6/+6 | |
2021-03-17 | log-forward: use $EscapeForRegEx | Christian Hesse | 1 | -4/+4 | |
2021-03-15 | log-forward: filter e-mail error on log forwarding in script... | Christian Hesse | 1 | -1/+7 | |
... and update the filter in global configuration. | |||||
2021-03-04 | log-forward: list messages with 'black circle' | Christian Hesse | 1 | -2/+3 | |
2021-03-04 | log-forward: skip multi-repeated messages | Christian Hesse | 1 | -4/+15 | |
2021-02-24 | global: use $0 for $ScriptLock | Christian Hesse | 1 | -1/+1 | |
2021-02-24 | global: give script or function name in log messages | Christian Hesse | 1 | -2/+3 | |
2021-02-18 | global: drop script 'global-wait'change-44 | Christian Hesse | 1 | -0/+3 | |
All scripts wait for the global functions on their own now. | |||||
2021-02-16 | global-functions: drop $MailServerIsUp | Christian Hesse | 1 | -5/+0 | |
Now that we have an e-mail queue we do not care if the server is up or not. | |||||
2021-01-01 | update copyright for 2021 | Christian Hesse | 1 | -1/+1 | |
2020-12-14 | log-forward: add 'if any' in log message | Christian Hesse | 1 | -1/+1 | |
2020-10-18 | log-forward: improve wording for single message | Christian Hesse | 1 | -2/+4 | |
2020-09-28 | log-forward: add rate limit to prevent flooding | Christian Hesse | 1 | -0/+15 | |
2020-09-28 | log-forward: fix usage of function | Christian Hesse | 1 | -1/+1 | |
2020-09-25 | log-forward: add filter on log message textchange-29 | Christian Hesse | 1 | -1/+2 | |
2020-09-18 | extend magic pattern with "by RouterOS" | Christian Hesse | 1 | -1/+1 | |
This matches the string included in export. | |||||
2020-07-17 | log-forward: lock script to run just once | Christian Hesse | 1 | -0/+3 | |
2020-07-17 | global-functions: introduce and use $SymbolForNotificationchange-24 | Christian Hesse | 1 | -2/+2 | |
2020-07-17 | log-forward: use $SymbolByUnicodeName | Christian Hesse | 1 | -1/+2 | |
2020-07-15 | log-forward: remember the last id only | Christian Hesse | 1 | -2/+2 | |
2020-07-15 | add 'log-forward', drop 'early-errors'change-23 | Christian Hesse | 1 | -0/+47 | |