🎨 Logging

This commit is contained in:
Daniel 2023-07-21 22:19:52 +08:00
parent d3bfc3bc8d
commit 2b28c9c7fa
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -505,7 +505,7 @@ func clearOutdatedHistoryDir(historyDir string) {
}
for _, dir := range removes {
if err = os.RemoveAll(dir); nil != err {
logging.LogErrorf("remove history dir [%s] failed: %s", dir, err)
logging.LogWarnf("remove history dir [%s] failed: %s", dir, err)
continue
}
//logging.LogInfof("auto removed history dir [%s]", dir)