From e74160596df9c47c11baa29e2f6d8ee1eae7f9d4 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 29 Jun 2016 21:23:58 -0400 Subject: [PATCH] add logging --- MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index 4534677ca2..651b0e01f5 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().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(); }