aboutsummaryrefslogtreecommitdiffstats
path: root/log-forward
diff options
context:
space:
mode:
Diffstat (limited to 'log-forward')
-rw-r--r--log-forward4
1 files changed, 2 insertions, 2 deletions
diff --git a/log-forward b/log-forward
index 8f7bc1f..068ffb0 100644
--- a/log-forward
+++ b/log-forward
@@ -28,7 +28,7 @@ $WaitFullyConnected;
:foreach Message in=[ / log find where !(topics~$LogForwardFilter) ] do={
:set MessageVal [ / log get $Message ];
- :if ($LogForwardLast = $MessageVal) do={
+ :if ($LogForwardLast = ($MessageVal->".id")) do={
:set Messages "";
:set Count 0;
} else={
@@ -43,5 +43,5 @@ $WaitFullyConnected;
("The log on " . $Identity . " contains these " . $Count . " messages after " . \
[ / system resource get uptime ] . " uptime.\n" . $Messages);
- :set LogForwardLast $MessageVal;
+ :set LogForwardLast ($MessageVal->".id");
}