mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Change location of logging.json
from <appdata> to <appdata>/config
This commit is contained in:
parent
1f02cf4b7e
commit
cd251799a4
@ -164,7 +164,7 @@ namespace MediaBrowser.Server.Mono
|
|||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
string path = Path.Combine(_appPaths.ProgramDataPath, "logging.json");
|
string path = Path.Combine(_appPaths.ConfigurationDirectoryPath, "logging.json");
|
||||||
|
|
||||||
if (!File.Exists(path))
|
if (!File.Exists(path))
|
||||||
{
|
{
|
||||||
@ -178,7 +178,7 @@ namespace MediaBrowser.Server.Mono
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
var configuration = new ConfigurationBuilder()
|
var configuration = new ConfigurationBuilder()
|
||||||
.SetBasePath(_appPaths.ProgramDataPath)
|
.SetBasePath(_appPaths.ConfigurationDirectoryPath)
|
||||||
.AddJsonFile("logging.json")
|
.AddJsonFile("logging.json")
|
||||||
.AddEnvironmentVariables("JELLYFIN_")
|
.AddEnvironmentVariables("JELLYFIN_")
|
||||||
.Build();
|
.Build();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user