From daf0874ed5827f26ac1a0a831ad4b658db9b5394 Mon Sep 17 00:00:00 2001 From: MinerYang Date: Mon, 8 Aug 2022 14:20:13 +0800 Subject: [PATCH] project userid not found log level into debug (#17343) Signed-off-by: yminer --- src/controller/project/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/project/controller.go b/src/controller/project/controller.go index 71286a692..9cdc1c1e8 100644 --- a/src/controller/project/controller.go +++ b/src/controller/project/controller.go @@ -355,7 +355,7 @@ func (c *controller) loadOwners(ctx context.Context, projects models.Projects) e for _, p := range projects { owner, ok := m[p.OwnerID] if !ok { - log.G(ctx).Warningf("the owner of project %s is not found, owner id is %d", p.Name, p.OwnerID) + log.G(ctx).Debugf("the owner of project %s is not found, owner id is %d", p.Name, p.OwnerID) continue }