From 87cbc1edadddaae330d58b23cc101d8ab5abddc6 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 27 Apr 2021 21:50:44 +0200 Subject: log-forward: pass origin to $SendNotification2 --- log-forward | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'log-forward') diff --git a/log-forward b/log-forward index 74aaeb4..8f72893 100644 --- a/log-forward +++ b/log-forward @@ -71,7 +71,8 @@ $WaitFullyConnected; } :if ($Count > 0) do={ - $SendNotification2 ({ subject=([ $SymbolForNotification "warning-sign" ] . "Log Forwarding"); \ + $SendNotification2 ({ origin=$0; \ + subject=([ $SymbolForNotification "warning-sign" ] . "Log Forwarding"); \ message=("The log on " . $Identity . " contains " . [ $IfThenElse ($Count = 1) \ "this message" ("these " . $Count . " messages") ] . " after " . \ [ / system resource get uptime ] . " uptime." . [ $IfThenElse ($Duplicates = true) \ -- cgit v1.2.3-70-g09d2