Browse Source

Reload logging.json on changes

Claus Vium 5 years ago
parent
commit
c3eac58dda
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jellyfin.Server/Program.cs

+ 1 - 1
Jellyfin.Server/Program.cs

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