Merge pull request #4972 from crosbymichael/exec-sync
remove exec sync debug contents from logs
This commit is contained in:
commit
c28533c7a4
@ -253,8 +253,6 @@ func (in *instrumentedService) ExecSync(ctx context.Context, r *runtime.ExecSync
|
|||||||
log.G(ctx).WithError(err).Errorf("ExecSync for %q failed", r.GetContainerId())
|
log.G(ctx).WithError(err).Errorf("ExecSync for %q failed", r.GetContainerId())
|
||||||
} else {
|
} else {
|
||||||
log.G(ctx).Debugf("ExecSync for %q returns with exit code %d", r.GetContainerId(), res.GetExitCode())
|
log.G(ctx).Debugf("ExecSync for %q returns with exit code %d", r.GetContainerId(), res.GetExitCode())
|
||||||
log.G(ctx).Debugf("ExecSync for %q outputs - stdout: %q, stderr: %q", r.GetContainerId(),
|
|
||||||
res.GetStdout(), res.GetStderr())
|
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
res, err = in.c.ExecSync(ctrdutil.WithNamespace(ctx), r)
|
res, err = in.c.ExecSync(ctrdutil.WithNamespace(ctx), r)
|
||||||
|
Loading…
Reference in New Issue
Block a user