Browse Source

Merge pull request #1933 from cvium/autoreload_log_config

Reload logging.json on changes
Bond-009 5 năm trước cách đây
mục cha
commit
da7ba822b0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();