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

Improve message in mail logger.

Refers to #3
parent 1b2dd2fe
No related branches found
No related tags found
No related merge requests found
......@@ -147,8 +147,10 @@ namespace ATxService
var subject = $"{ServiceName} - {Environment.MachineName} - Admin Notification";
var body = $"Notification from '{_config.HostAlias}' [{Environment.MachineName}] (via NLog)\n\n" +
$"{LogFormatDefault}\n\nNOTE: messages of the same log level won't be sent via email for the\n" +
$"next {_config.AdminNotificationDelta} minutes, please check the corresponding log file!";
$"{LogFormatDefault}\n\n" +
"NOTE: messages of the same log level won't be sent via email for the\n" +
$"next {_config.AdminNotificationDelta} minutes (or a service restart)," +
"please check the corresponding log file!";
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