aboutsummaryrefslogtreecommitdiffstats
path: root/log-forward
diff options
context:
space:
mode:
Diffstat (limited to 'log-forward')
-rw-r--r--log-forward5
1 files changed, 3 insertions, 2 deletions
diff --git a/log-forward b/log-forward
index ecb55cc..4332c2a 100644
--- a/log-forward
+++ b/log-forward
@@ -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;
}