Merge pull request #9325 from saschagrunert/probe-log-noise

Reduce log noise from monitor prober
This commit is contained in:
openshift-merge-bot[bot] 2025-07-08 13:37:23 +00:00 committed by GitHub
commit 8c4e586731
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -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...)
}