Skip to content

Commit 005968d

Browse files
Properly shutdown NLog in Program.cs
1 parent 9b97c92 commit 005968d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ServiceControl.Monitoring/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@
4141
{
4242
// The following log statement is meant to leave a trail in the logs to determine if the process was killed
4343
logger.LogInformation("Shutdown complete");
44+
NLog.LogManager.Shutdown();
4445
}

0 commit comments

Comments
 (0)