From fc3ab5e56fa278972321157c124cf9e601c5de3c Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Wed, 31 Jan 2018 00:03:47 +0100
Subject: [PATCH] Increase log level for discarded emails.

Refers to #3
---
 AutoTx/Email.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AutoTx/Email.cs b/AutoTx/Email.cs
index 96d435a..554a5fd 100644
--- a/AutoTx/Email.cs
+++ b/AutoTx/Email.cs
@@ -82,7 +82,7 @@ namespace AutoTx
 
             var delta = TimeUtils.MinutesSince(_status.LastAdminNotification);
             if (delta < _config.AdminNotificationDelta) {
-                Log.Debug("Suppressed admin email, interval too short ({0} vs. {1}):\n\n{2}\n{3}",
+                Log.Warn("Suppressed admin email, interval too short ({0} vs. {1}):\n\n{2}\n{3}",
                     delta, _config.AdminNotificationDelta, subject, body);
                 return;
             }
-- 
GitLab