Merge pull request #1933 from cvium/autoreload_log_config

Reload logging.json on changes
This commit is contained in:
Bond-009
2019-10-24 10:27:35 +02:00
committed by GitHub

View File

@@ -376,7 +376,7 @@ namespace Jellyfin.Server
return new ConfigurationBuilder()
.SetBasePath(appPaths.ConfigurationDirectoryPath)
.AddJsonFile("logging.json")
.AddJsonFile("logging.json", false, true)
.AddEnvironmentVariables("JELLYFIN_")
.AddInMemoryCollection(ConfigurationOptions.Configuration)
.Build();