Răsfoiți Sursa

Change location of logging.json

from <appdata> to <appdata>/config
Bond_009 6 ani în urmă
părinte
comite
cd251799a4
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      MediaBrowser.Server.Mono/Program.cs

+ 2 - 2
MediaBrowser.Server.Mono/Program.cs

@@ -164,7 +164,7 @@ namespace MediaBrowser.Server.Mono
             }
             try
             {
-                string path = Path.Combine(_appPaths.ProgramDataPath, "logging.json");
+                string path = Path.Combine(_appPaths.ConfigurationDirectoryPath, "logging.json");
 
                 if (!File.Exists(path))
                 {
@@ -178,7 +178,7 @@ namespace MediaBrowser.Server.Mono
                     }
                 }
                 var configuration = new ConfigurationBuilder()
-                    .SetBasePath(_appPaths.ProgramDataPath)
+                    .SetBasePath(_appPaths.ConfigurationDirectoryPath)
                     .AddJsonFile("logging.json")
                     .AddEnvironmentVariables("JELLYFIN_")
                     .Build();