From 27b494b13965349e7ac83e6abe921a59f1b5d96c Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 13 Nov 2020 22:07:24 +0100 Subject: global-functions: $MailServerIsUp: decrease log severity to info --- global-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'global-functions') diff --git a/global-functions b/global-functions index c6439b5..08ef0a1 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 { -- cgit v1.2.3-70-g09d2 From 7b3960a0e1f6cc13219d0021a86ddfbc48faf82b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 13 Nov 2020 22:12:03 +0100 Subject: global-functions: $TimeIsSync: decrease log severity to info --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'global-functions') diff --git a/global-functions b/global-functions index 08ef0a1..de810cd 100644 --- a/global-functions +++ b/global-functions @@ -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; } -- cgit v1.2.3-70-g09d2 From b8efaafe6efe80f6201bb40e779738fc6d3ffb97 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 13 Nov 2020 22:15:23 +0100 Subject: global-functions: $SendTelegram: decrease log severity to info The message is queued, not lost... --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'global-functions') diff --git a/global-functions b/global-functions index de810cd..a4a3630 100644 --- a/global-functions +++ b/global-functions @@ -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 "" ]; -- cgit v1.2.3-70-g09d2