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
commit da7ba822b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();