Skip to content
Snippets Groups Projects
Commit 2ab40ae7 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Add "NLog" reference to log mails.

Refers to #3
parent d597fc12
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment