From 5834f9807edd8ed7eb4202a34c7b598769b7a425 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 6 Oct 2022 18:49:50 +0300 Subject: [PATCH] [#1847] services/policer: Provide container ID in logs Signed-off-by: Evgenii Stratonikov --- pkg/services/policer/check.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/services/policer/check.go b/pkg/services/policer/check.go index feedc1392d..b6f48faa44 100644 --- a/pkg/services/policer/check.go +++ b/pkg/services/policer/check.go @@ -51,6 +51,7 @@ func (p *Policer) processObject(ctx context.Context, addr oid.Address) { nn, err := p.placementBuilder.BuildPlacement(idCnr, &obj, policy) if err != nil { p.log.Error("could not build placement vector for object", + zap.Stringer("cid", idCnr), zap.String("error", err.Error()), )