add console logging during startup

This commit is contained in:
Luke Pulverenti
2014-01-08 23:44:51 -05:00
parent dcc5f9ebab
commit 247a40fa61
12 changed files with 79 additions and 50 deletions

View File

@@ -33,6 +33,7 @@ namespace MediaBrowser.Server.Mono
var logManager = new NlogManager(appPaths.LogDirectoryPath, "server");
logManager.ReloadLogger(LogSeverity.Info);
logManager.AddConsoleOutput();
var logger = _logger = logManager.GetLogger("Main");