aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-29 21:23:58 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-29 21:23:58 -0400
commite74160596df9c47c11baa29e2f6d8ee1eae7f9d4 (patch)
tree1384a918656d8a035f7811bfafba3c28af6dc855
parentd15eb5963557e8f1d7b2be449224c00f9a91237a (diff)
add logging
-rw-r--r--MediaBrowser.Server.Startup.Common/ApplicationHost.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
index 4534677ca..651b0e01f 100644
--- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
+++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
@@ -335,6 +335,7 @@ namespace MediaBrowser.Server.Startup.Common
foreach (var entryPoint in GetExports<IServerEntryPoint>().ToList())
{
var name = entryPoint.GetType().FullName;
+ Logger.Info("Starting entry point {0}", name);
try
{
entryPoint.Run();
@@ -343,8 +344,9 @@ namespace MediaBrowser.Server.Startup.Common
{
Logger.ErrorException("Error in {0}", ex, name);
}
+ Logger.Info("Entry point completed: {0}", name);
}
- Logger.Info("Entry points complete");
+ Logger.Info("All entry points have started");
LogManager.RemoveConsoleOutput();
}