From 2ab40ae7687f044b15372df14cc3eb202ccfb810 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Sat, 20 Jan 2018 00:44:44 +0100 Subject: [PATCH] Add "NLog" reference to log mails. Refers to #3 --- AutoTx/AutoTx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs index b61031f..63cce27 100644 --- a/AutoTx/AutoTx.cs +++ b/AutoTx/AutoTx.cs @@ -116,7 +116,7 @@ namespace AutoTx var subject = string.Format("{0} - {1} - Admin Notification", ServiceName, Environment.MachineName); - var body = string.Format("Notification from '{0}' ({1})\n\n{2}", + var body = string.Format("Notification from '{0}' [{1}] (via NLog)\n\n{2}", _config.HostAlias, Environment.MachineName, LogFormatDefault); var logConfig = LogManager.Configuration; -- GitLab