log-forward: use $SymbolByUnicodeName

This commit is contained in:
Christian Hesse 2020-07-17 07:47:28 +02:00
parent 33899b9904
commit 1b55c9b5a2

View file

@ -13,6 +13,7 @@
:global LogPrintExit;
:global MailServerIsUp;
:global SendNotification;
:global SymbolByUnicodeName;
:global WaitFullyConnected;
$WaitFullyConnected;
@ -39,7 +40,7 @@ $WaitFullyConnected;
}
:if ($Count > 0) do={
$SendNotification ("\E2\9A\A0 Log Forwarding") \
$SendNotification ([ $SymbolByUnicodeName "warning-sign" ] . " Log Forwarding") \
("The log on " . $Identity . " contains these " . $Count . " messages after " . \
[ / system resource get uptime ] . " uptime.\n" . $Messages);