add server stop log detail info

pull/827/head
Jireh 2021-10-15 10:52:16 +08:00
parent 1f8b1f2e89
commit 7aaa831589
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ func StopServer(id int) error {
return err
} else {
t.Status = false
logs.Info("close port %d,remark %s,client id %d,task id %d", t.Port, t.Remark, t.Client.Id, t.Id)
file.GetDb().UpdateTask(t)
}
//delete(RunList, id)