aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-05-20 08:33:22 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-05-20 08:33:22 +0200
commit89f4c91ccf35b65905dda8ce584d8a53faf6c957 (patch)
treef6ae03ef2c3d9980092d0729f311abd9a20f22f6
parent3139b14c67d2aacdba4001795c299283f9de5ebd (diff)
log-forward: change symbol for notification
-rw-r--r--global-functions1
-rw-r--r--log-forward4
2 files changed, 3 insertions, 2 deletions
diff --git a/global-functions b/global-functions
index 713a284..7266861 100644
--- a/global-functions
+++ b/global-functions
@@ -1082,6 +1082,7 @@
"incoming-envelope"="\F0\9F\93\A8";
"link"="\F0\9F\94\97";
"lock-with-ink-pen"="\F0\9F\94\8F";
+ "memo"="\F0\9F\93\9D";
"mobile-phone"="\F0\9F\93\B1";
"pushpin"="\F0\9F\93\8C";
"scissors"="\E2\9C\82";
diff --git a/log-forward b/log-forward
index bb57522..3867519 100644
--- a/log-forward
+++ b/log-forward
@@ -47,7 +47,7 @@ $ScriptLock $0;
:local MessageDups [ :toarray "" ];
:local LogForwardFilterLogForwarding ("^" . [ $EscapeForRegEx ("Error sending e-mail <" . \
- [ $QuotedPrintable ("[" . $Identity . "] " . [ $SymbolForNotification "warning-sign" ] . \
+ [ $QuotedPrintable ("[" . $Identity . "] " . [ $SymbolForNotification "memo" ] . \
"Log Forwarding") ] . ">:") ]);
:foreach Message in=[ /log/find where (!(message="") and !(message~$LogForwardFilterLogForwarding) and \
!(topics~$LogForwardFilter) and !(message~$LogForwardFilterMessage)) or \
@@ -69,7 +69,7 @@ $ScriptLock $0;
:if ($Count > 0) do={
$SendNotification2 ({ origin=$0; \
- subject=([ $SymbolForNotification "warning-sign" ] . "Log Forwarding"); \
+ subject=([ $SymbolForNotification "memo" ] . "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) \