tweaked http server startup

This commit is contained in:
Luke Pulverenti
2013-04-08 12:45:40 -04:00
parent cfe2c8f1b1
commit 57f082051d
2 changed files with 22 additions and 7 deletions

View File

@@ -171,6 +171,7 @@ namespace MediaBrowser.Common.Implementations
Logger = LogManager.GetLogger("App");
LogManager.ReloadLogger(ConfigurationManager.CommonConfiguration.EnableDebugLevelLogging ? LogSeverity.Debug : LogSeverity.Info);
OnLoggerLoaded();
DiscoverTypes();
@@ -183,6 +184,11 @@ namespace MediaBrowser.Common.Implementations
await RunStartupTasks().ConfigureAwait(false);
}
protected virtual void OnLoggerLoaded()
{
}
/// <summary>
/// Runs the startup tasks.
/// </summary>