mirror of https://github.com/cri-o/cri-o.git
Merge pull request #9325 from saschagrunert/probe-log-noise
Reduce log noise from monitor prober
This commit is contained in:
commit
8c4e586731
|
|
@ -1010,7 +1010,7 @@ func (c *ContainerServer) probeMonitorProcesses(ctx context.Context) {
|
|||
return
|
||||
case <-timer.C:
|
||||
}
|
||||
log.Debugf(ctx, "Probe monitor processes")
|
||||
log.Tracef(ctx, "Probe monitor processes")
|
||||
|
||||
for _, ctr := range c.listContainers() {
|
||||
err := c.runtime.ProbeMonitor(ctx, ctr)
|
||||
|
|
|
|||
|
|
@ -14,6 +14,10 @@ type (
|
|||
Name struct{}
|
||||
)
|
||||
|
||||
func Tracef(ctx context.Context, format string, args ...any) {
|
||||
entry(ctx).Tracef(format, args...)
|
||||
}
|
||||
|
||||
func Debugf(ctx context.Context, format string, args ...any) {
|
||||
entry(ctx).Debugf(format, args...)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue