소스 검색

Merge pull request #1933 from cvium/autoreload_log_config

Reload logging.json on changes
Bond-009 5 년 전
부모
커밋
da7ba822b0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Jellyfin.Server/Program.cs

+ 1 - 1
Jellyfin.Server/Program.cs

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