Add Application configuration #11
@ -213,8 +213,10 @@ public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigur
|
|||||||
true => new LogSettings
|
true => new LogSettings
|
||||||
{
|
{
|
||||||
EnableLogToFile = true,
|
EnableLogToFile = true,
|
||||||
LogFileName = "logging-",
|
LogFileName = "log-",
|
||||||
LogFilePath = "logs"
|
LogFilePath = OperatingSystem.IsWindows() || PathBuilder.IsDefaultPath ?
|
||||||
|
PathBuilder.Combine("logs") :
|
||||||
|
"/var/log/mirea"
|
||||||
},
|
},
|
||||||
false => new LogSettings
|
false => new LogSettings
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user