Create ApplicationHost logger correctly

This commit is contained in:
Mark Monteiro 2020-04-20 20:20:39 -04:00
parent f815059698
commit bc4e72b29b
2 changed files with 2 additions and 2 deletions

View file

@ -255,7 +255,7 @@ namespace Emby.Server.Implementations
ConfigurationManager = new ServerConfigurationManager(ApplicationPaths, LoggerFactory, _xmlSerializer, _fileSystemManager);
Logger = LoggerFactory.CreateLogger("App");
Logger = LoggerFactory.CreateLogger<ApplicationHost>();
_startupOptions = options;

View file

@ -3091,7 +3091,7 @@ namespace Emby.Server.Implementations.Library
{
_configurationManager.Configuration.ContentTypes = _configurationManager.Configuration.ContentTypes
.Except(removeList)
.ToArray();
.ToArray();
_configurationManager.SaveConfiguration();
}