From af6a5918e9b262f89273bfa00742444f4a96ffeb Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 14 Dec 2022 23:33:37 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=A1=8C=E9=9D=A2=E7=AB=AF=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E7=A3=81=E7=9B=98=E5=8F=AF=E7=94=A8=E7=A9=BA=E9=97=B4?= =?UTF-8?q?=20https://github.com/siyuan-note/siyuan/issues/6873?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/box.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/box.go b/kernel/model/box.go index 94a884ae4..2d32d6441 100644 --- a/kernel/model/box.go +++ b/kernel/model/box.go @@ -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) }