Add Application configuration #11

Merged
Wesser merged 128 commits from feat/add-setup into release/v1.0.0 2024-06-01 07:35:30 +03:00
Showing only changes of commit ded577f40a - Show all commits

View File

@ -213,8 +213,10 @@ public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigur
true => new LogSettings
{
EnableLogToFile = true,
LogFileName = "logging-",
LogFilePath = "logs"
LogFileName = "log-",
LogFilePath = OperatingSystem.IsWindows() || PathBuilder.IsDefaultPath ?
PathBuilder.Combine("logs") :
"/var/log/mirea"
},
false => new LogSettings
{