Merge pull request #1933 from cvium/autoreload_log_config

Reload logging.json on changes

(cherry picked from commit da7ba822b0)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
pull/2095/head
Bond-009 5 years ago committed by Joshua Boniface
parent 6e59671cf6
commit e98e4766f7

@ -370,7 +370,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