Skip to content

Commit 511fec1

Browse files
Improve logging and code comments
1 parent dd1ca69 commit 511fec1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/ServiceControl.Audit/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141
finally
4242
{
43-
// Leave a trail in the logs to determine if the process was killed
44-
NLog.LogManager.GetCurrentClassLogger().Info("Done!");
43+
// The following log statement is meant to leave a trail in the logs to determine if the process was killed
44+
NLog.LogManager.GetCurrentClassLogger().Info("Shutdown complete");
4545
NLog.LogManager.Shutdown();
4646
}

src/ServiceControl.Monitoring/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333
finally
3434
{
35-
// Leave a trail in the logs to determine if the process was killed
36-
NLog.LogManager.GetCurrentClassLogger().Info("Done!");
35+
// The following log statement is meant to leave a trail in the logs to determine if the process was killed
36+
NLog.LogManager.GetCurrentClassLogger().Info("Shutdown complete");
3737
NLog.LogManager.Shutdown();
3838
}

src/ServiceControl/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141
finally
4242
{
43-
// Leave a trail in the logs to determine if the process was killed
44-
NLog.LogManager.GetCurrentClassLogger().Info("Done!");
43+
// The following log statement is meant to leave a trail in the logs to determine if the process was killed
44+
NLog.LogManager.GetCurrentClassLogger().Info("Shutdown complete");
4545
NLog.LogManager.Shutdown();
4646
}

0 commit comments

Comments
 (0)