mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-31 04:05:50 -04:00
Create ApplicationHost logger correctly
This commit is contained in:
parent
f815059698
commit
bc4e72b29b
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user