mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 23:13:06 +03:00
Create ApplicationHost logger correctly
This commit is contained in:
@@ -255,7 +255,7 @@ namespace Emby.Server.Implementations
|
|||||||
|
|
||||||
ConfigurationManager = new ServerConfigurationManager(ApplicationPaths, LoggerFactory, _xmlSerializer, _fileSystemManager);
|
ConfigurationManager = new ServerConfigurationManager(ApplicationPaths, LoggerFactory, _xmlSerializer, _fileSystemManager);
|
||||||
|
|
||||||
Logger = LoggerFactory.CreateLogger("App");
|
Logger = LoggerFactory.CreateLogger<ApplicationHost>();
|
||||||
|
|
||||||
_startupOptions = options;
|
_startupOptions = options;
|
||||||
|
|
||||||
|
|||||||
@@ -3091,7 +3091,7 @@ namespace Emby.Server.Implementations.Library
|
|||||||
{
|
{
|
||||||
_configurationManager.Configuration.ContentTypes = _configurationManager.Configuration.ContentTypes
|
_configurationManager.Configuration.ContentTypes = _configurationManager.Configuration.ContentTypes
|
||||||
.Except(removeList)
|
.Except(removeList)
|
||||||
.ToArray();
|
.ToArray();
|
||||||
|
|
||||||
_configurationManager.SaveConfiguration();
|
_configurationManager.SaveConfiguration();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user