Merge pull request #1933 from cvium/autoreload_log_config
Reload logging.json on changes
This commit is contained in:
commit
da7ba822b0
|
@ -376,7 +376,7 @@ namespace Jellyfin.Server
|
||||||
|
|
||||||
return new ConfigurationBuilder()
|
return new ConfigurationBuilder()
|
||||||
.SetBasePath(appPaths.ConfigurationDirectoryPath)
|
.SetBasePath(appPaths.ConfigurationDirectoryPath)
|
||||||
.AddJsonFile("logging.json")
|
.AddJsonFile("logging.json", false, true)
|
||||||
.AddEnvironmentVariables("JELLYFIN_")
|
.AddEnvironmentVariables("JELLYFIN_")
|
||||||
.AddInMemoryCollection(ConfigurationOptions.Configuration)
|
.AddInMemoryCollection(ConfigurationOptions.Configuration)
|
||||||
.Build();
|
.Build();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user