diff options
author | Christian Hesse <mail@eworm.de> | 2020-09-25 22:21:59 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-09-25 22:21:59 +0200 |
commit | 697e32a30640c7bb8c132aaed44968081e6e3872 (patch) | |
tree | 8bef82332df7bb9273f1159604bc21bdce977367 /log-forward | |
parent | c3ea55523371403f07f116cb44eebfdf444c5628 (diff) |
log-forward: add filter on log message textchange-29
Diffstat (limited to 'log-forward')
-rw-r--r-- | log-forward | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/log-forward b/log-forward index 59a47c1..dc2ad05 100644 --- a/log-forward +++ b/log-forward @@ -8,6 +8,7 @@ :global Identity; :global LogForwardFilter; +:global LogForwardFilterMessage; :global LogForwardLast; :global LogPrintExit; @@ -29,7 +30,7 @@ $WaitFullyConnected; :local Messages ""; :local MessageVal; -:foreach Message in=[ / log find where !(topics~$LogForwardFilter) ] do={ +:foreach Message in=[ / log find where !(topics~$LogForwardFilter) !(message~$LogForwardFilterMessage) ] do={ :set MessageVal [ / log get $Message ]; :if ($LogForwardLast = ($MessageVal->".id")) do={ |