diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs
index d96b0a005..8a7e78749 100644
--- a/MediaBrowser.ServerApplication/MainStartup.cs
+++ b/MediaBrowser.ServerApplication/MainStartup.cs
@@ -193,8 +193,14 @@ namespace MediaBrowser.ServerApplication
/// The app paths.
private static void BeginLog(ILogger logger, IApplicationPaths appPaths)
{
- logger.Info("Media Browser Server started");
- ApplicationHost.LogEnvironmentInfo(logger, appPaths);
+ logger.Info("Media Browser Server started");
+ logger.Info("Command line: {0}", string.Join(" ", Environment.GetCommandLineArgs()));
+
+ logger.Info("Server: {0}", Environment.MachineName);
+ logger.Info("Operating system: {0}", Environment.OSVersion.ToString());
+ logger.Info("Program data path: {0}", appPaths.ProgramDataPath);
+
+ logger.Info("Application Path: {0}", appPaths.ApplicationPath);
}
private static readonly TaskCompletionSource ApplicationTaskCompletionSource = new TaskCompletionSource();
@@ -220,6 +226,7 @@ namespace MediaBrowser.ServerApplication
ErrorModes.SEM_NOGPFAULTERRORBOX | ErrorModes.SEM_NOOPENFILEERRORBOX);
}
+
var task = _appHost.Init(initProgress);
task = task.ContinueWith(new Action(a => _appHost.RunStartupTasks()));