Merge pull request #1933 from cvium/autoreload_log_config

Reload logging.json on changes
pull/1922/head
Bond-009 5 years ago committed by GitHub
commit da7ba822b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save