mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
log-forward: list messages with 'black circle'
This commit is contained in:
parent
f762d395eb
commit
b1647c760c
1 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
|||
:global LogForwardFilterMessage;
|
||||
:global LogForwardLast;
|
||||
:global LogForwardRateLimit;
|
||||
:global NotificationsWithSymbols;
|
||||
|
||||
:global IfThenElse;
|
||||
:global LogPrintExit2;
|
||||
|
@ -53,8 +54,8 @@ $WaitFullyConnected;
|
|||
} else={
|
||||
:local DupCount ($MessageDups->($MessageVal->"message"));
|
||||
:if ($DupCount < 3) do={
|
||||
:set Messages ($Messages . "\n" . $MessageVal->"time" . " " . \
|
||||
[ :tostr ($MessageVal->"topics") ] . " " . $MessageVal->"message");
|
||||
:set Messages ($Messages . "\n" . [ $IfThenElse ($NotificationsWithSymbols = true) (" \E2\97\8F ") ] . \
|
||||
$MessageVal->"time" . " " . [ :tostr ($MessageVal->"topics") ] . " " . $MessageVal->"message");
|
||||
} else={
|
||||
:set Duplicates true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue