Move log to data dir

This commit is contained in:
Marc Ole Bulling
2022-01-22 14:30:51 +01:00
parent 3766c9257f
commit 8d11235456

View File

@@ -58,7 +58,7 @@ func Load() {
}
helper.CreateDir(serverSettings.DataDir)
downloadstatus.Init()
log.Init(Environment.ConfigDir)
log.Init(Environment.DataDir)
}
// Get returns a pointer to the server configuration