log-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*.
This commit is contained in:
Christian Hesse 2021-06-09 14:32:52 +02:00
parent d5f43aa26d
commit de61c14c60
6 changed files with 20 additions and 7 deletions

View file

@ -58,6 +58,7 @@
52="Updated Let's Encrypt trust chain to use root certificate 'ISRG Root X1'. Do not re-import the old chain!";
53="Added support to send notifications via Matrix.";
54="Support for Telegram notifications moved to a module. It is installed automatically if required.";
55="Added reverse logic in 'log-forward', so messages can be included even if filtered before.";
};
# Migration steps to be applied on script updates