Skip to content

The Free Software Media System - Server Backend & API

Change location of logging.json

Bond_009cd251799a4f5
diff --git a/MediaBrowser.Server.Mono/Program.cs b/MediaBrowser.Server.Mono/Program.cs
index cf61b79fe8..b8c29796dc 100644
--- a/MediaBrowser.Server.Mono/Program.cs
+++ b/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();