mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #1933 from cvium/autoreload_log_config
Reload logging.json on changes (cherry picked from commit da7ba822b0516ad4e179e26f05943cafeaac2139) Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
parent
6e59671cf6
commit
e98e4766f7
@ -370,7 +370,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…
x
Reference in New Issue
Block a user