From 857b8c23a5c162ac27ff08b0bfa51dda7163ee2d Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Wed, 1 May 2019 00:29:13 +0200 Subject: [PATCH] Log a message when a health report is being sent Relates to #20 --- ATxService/Email.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ATxService/Email.cs b/ATxService/Email.cs index a53b41f..e5b8484 100644 --- a/ATxService/Email.cs +++ b/ATxService/Email.cs @@ -254,6 +254,7 @@ namespace ATxService report += $"\nPrevious system health report notification was sent {elapsedHuman}.\n"; _status.LastStartupNotification = DateTime.Now; + Log.Debug("Sending system health report, previous one was sent {0}", elapsedHuman); return SendEmail(_config.HealthReportEmailAddress, "system health report", report); } } -- GitLab