This commit is contained in:
Liang Ding 2022-12-14 23:33:37 +08:00
parent a5c3a4a66e
commit af6a5918e9
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -90,7 +90,7 @@ func autoStat() {
logging.LogErrorf("get disk usage failed: %s", err)
return
}
logging.LogInfof("disk usage [used=%s, total=%s]", humanize.Bytes(usage.Used), humanize.Bytes(usage.Total))
logging.LogInfof("disk usage [total=%s, used=%s, free=%s]", humanize.Bytes(usage.Total), humanize.Bytes(usage.Used), humanize.Bytes(usage.Free))
if usage.Free < uint64(Conf.Stat.DataSize*2) {
util.PushMsg(Conf.Language(179), 7000)
}