[CRI] Reduce clutter of log entries during process execution

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2021-01-06 08:57:31 -05:00
parent 18ad79d328
commit 1f5b84f27c
4 changed files with 11 additions and 11 deletions

View File

@@ -114,7 +114,7 @@ func (c *ContainerIO) Pipe() {
c.stdout.Close()
c.stdoutGroup.Close()
wg.Done()
logrus.Infof("Finish piping stdout of container %q", c.id)
logrus.Debugf("Finish piping stdout of container %q", c.id)
}()
}
@@ -127,7 +127,7 @@ func (c *ContainerIO) Pipe() {
c.stderr.Close()
c.stderrGroup.Close()
wg.Done()
logrus.Infof("Finish piping stderr of container %q", c.id)
logrus.Debugf("Finish piping stderr of container %q", c.id)
}()
}
}

View File

@@ -99,7 +99,7 @@ func (e *ExecIO) Attach(opts AttachOptions) <-chan struct{} {
}
e.closer.wg.Done()
wg.Done()
logrus.Infof("Finish piping %q of container exec %q", t, e.id)
logrus.Debugf("Finish piping %q of container exec %q", t, e.id)
}
if opts.Stdout != nil {