瀏覽代碼

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>
Bond-009 5 年之前
父節點
當前提交
e98e4766f7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jellyfin.Server/Program.cs

+ 1 - 1
Jellyfin.Server/Program.cs

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