The Free Software Media System - Server Backend & API
Create ApplicationHost logger correctly
Mark Monteirobc4e72b29b7e
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.csindex 28aecf55b1..33aec1a06b 100644--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@ -255,7 +255,7 @@ namespace Emby.Server.ImplementationsConfigurationManager = new ServerConfigurationManager(ApplicationPaths, LoggerFactory, _xmlSerializer, _fileSystemManager);- Logger = LoggerFactory.CreateLogger("App");+ Logger = LoggerFactory.CreateLogger<ApplicationHost>();_startupOptions = options;diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.csindex 7b606c9f40..0b86b2db7e 100644--- a/Emby.Server.Implementations/Library/LibraryManager.cs+++ b/Emby.Server.Implementations/Library/LibraryManager.cs@@ -3091,7 +3091,7 @@ namespace Emby.Server.Implementations.Library{_configurationManager.Configuration.ContentTypes = _configurationManager.Configuration.ContentTypes.Except(removeList)- .ToArray();+ .ToArray();_configurationManager.SaveConfiguration();}