diff options
author | Christian Hesse <mail@eworm.de> | 2021-04-27 21:50:44 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-04-28 13:58:37 +0200 |
commit | 87cbc1edadddaae330d58b23cc101d8ab5abddc6 (patch) | |
tree | 352683bf1374c66dbdd2c681e7c508a62c3b7694 | |
parent | fe9754c6939fb58dd0d9d2cd281e8dcf9cd9a128 (diff) |
log-forward: pass origin to $SendNotification2
-rw-r--r-- | log-forward | 3 |
1 files changed, 2 insertions, 1 deletions
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) \ |