diff options
author | Christian Hesse <mail@eworm.de> | 2020-11-13 22:49:50 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-11-13 22:49:50 +0100 |
commit | 021463c76b5ce1106687ab0a526276a38b776c77 (patch) | |
tree | a4c68d4e4530f9e57c24579efc337d5dcede4168 /global-functions | |
parent | d519b70e650498669c569926b5b591dec7ab5944 (diff) | |
parent | 966e7b6fd3291c01eb9ab5639c92bc1ea95f8e5d (diff) |
Merge branch 'log-forward'
Diffstat (limited to 'global-functions')
-rw-r--r-- | global-functions | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/global-functions b/global-functions index c6439b5..a4a3630 100644 --- a/global-functions +++ b/global-functions @@ -436,13 +436,13 @@ :return true; } else={ :if ($MailServer = "0.0.0.0") do={ - $LogPrintExit warning ("No mail server is configured! Returning gracefully...") false; + $LogPrintExit info ("No mail server is configured! Returning gracefully...") false; :return true; } } :if ([ :len [ / tool netwatch find where comment=$MailServer ] ] = 0) do={ - $LogPrintExit warning ("Adding netwatch entry for mail server.") false; + $LogPrintExit info ("Adding netwatch entry for mail server.") false; :local MailHost $MailServer; :if ([ :typeof [ :toip $MailHost ] ] != "ip" ) do={ :do { @@ -827,7 +827,7 @@ http-data=("chat_id=" . $ChatId . "&disable_notification=" . $Silent . \ "&parse_mode=" . $ParseMode . "&text=" . $Text); } on-error={ - $LogPrintExit warning ("Failed sending telegram notification! Queuing...") false; + $LogPrintExit info ("Failed sending telegram notification! Queuing...") false; :if ([ :typeof $TelegramQueue ] = "nothing") do={ :set TelegramQueue [ :toarray "" ]; @@ -906,7 +906,7 @@ :return false; } - $LogPrintExit warning ("No time source configured! Returning gracefully...") false; + $LogPrintExit info ("No time source configured! Returning gracefully...") false; :return true; } |