Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
e98e4766f7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();