Merge pull request #10026 from ningmingxiao/info_exited_event

internal/cri: log ctr's exit event on info level
This commit is contained in:
Kazuyoshi Kato 2024-05-17 01:28:43 +00:00 committed by GitHub
commit 24c2ae8115
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ func (c *criService) startSandboxExitMonitor(ctx context.Context, id string, exi
ExitedAt: protobuf.ToTimestamp(exitedAt), ExitedAt: protobuf.ToTimestamp(exitedAt),
} }
log.L.Debugf("received exit event %+v", e) log.L.Infof("received exit event %+v", e)
err = func() error { err = func() error {
dctx := ctrdutil.NamespacedContext() dctx := ctrdutil.NamespacedContext()
@ -133,7 +133,7 @@ func (c *criService) startContainerExitMonitor(ctx context.Context, id string, p
ExitedAt: protobuf.ToTimestamp(exitedAt), ExitedAt: protobuf.ToTimestamp(exitedAt),
} }
log.L.Debugf("received exit event %+v", e) log.L.Infof("received exit event %+v", e)
err = func() error { err = func() error {
dctx := ctrdutil.NamespacedContext() dctx := ctrdutil.NamespacedContext()