diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-09-11 17:24:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-11 17:24:14 -0400 |
| commit | 671f44988c4943611545e8bf5b403c5289e8786a (patch) | |
| tree | a59d5a0f7249767df8821654dcb82e948315d75c /MediaBrowser.Server.Startup.Common | |
| parent | 38213eda84abcc9586253c5c88c976a04ec80344 (diff) | |
| parent | e7124e1ec5cbc28f298b89d8cced58dc0dbb41c2 (diff) | |
Merge pull request #2160 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Startup.Common')
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index e6d9b482ec..3c8c5bf558 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -345,6 +345,7 @@ namespace MediaBrowser.Server.Startup.Common { var name = entryPoint.GetType().FullName; Logger.Info("Starting entry point {0}", name); + var now = DateTime.UtcNow; try { entryPoint.Run(); @@ -353,7 +354,7 @@ namespace MediaBrowser.Server.Startup.Common { Logger.ErrorException("Error in {0}", ex, name); } - Logger.Info("Entry point completed: {0}", name); + Logger.Info("Entry point completed: {0}. Duration: {1} seconds", name, (DateTime.UtcNow - now).TotalSeconds.ToString(CultureInfo.InvariantCulture)); } Logger.Info("All entry points have started"); |
