浏览代码

:art: Improve logging

Daniel 1 年之前
父节点
当前提交
9dc68a28e4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/model/index_fix.go

+ 1 - 1
kernel/model/index_fix.go

@@ -74,7 +74,7 @@ func removeDuplicateDatabaseRefs() {
 	}
 
 	if 0 < len(duplicatedRootIDs) {
-		logging.LogWarnf("exist more than one ref duplicated [%d], reindex it", duplicatedRootIDs)
+		logging.LogWarnf("exist more than one ref duplicated [%d], reindex it", len(duplicatedRootIDs))
 	}
 }