Skip to content

Commit de6a121

Browse files
committed
only print out pods & metrics when log level is DEBUG
Signed-off-by: spacewander <[email protected]>
1 parent 26d2765 commit de6a121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ext-proc/backend/provider.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (p *Provider) Init(refreshPodsInterval, refreshMetricsInterval time.Duratio
8585
}()
8686

8787
// Periodically print out the pods and metrics for DEBUGGING.
88-
if klog.V(2).Enabled() {
88+
if klog.V(4).Enabled() {
8989
go func() {
9090
for {
9191
time.Sleep(5 * time.Second)

0 commit comments

Comments
 (0)