Skip to content

Commit

Permalink
Merge pull request #3341 from iwankgb/housekeeping_verbosity_level
Browse files Browse the repository at this point in the history
Avoid repeated message when not scrapping root container metrics
  • Loading branch information
iwankgb authored Jun 27, 2023
2 parents b9342aa + a7cde7a commit 4496c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ func (cd *containerData) nextHousekeepingInterval() time.Duration {
stats, err := cd.memoryCache.RecentStats(cd.info.Name, empty, empty, 2)
if err != nil {
if cd.allowErrorLogging() {
klog.Warningf("Failed to get RecentStats(%q) while determining the next housekeeping: %v", cd.info.Name, err)
klog.V(4).Infof("Failed to get RecentStats(%q) while determining the next housekeeping: %v", cd.info.Name, err)
}
} else if len(stats) == 2 {
// TODO(vishnuk): Use no processes as a signal.
Expand Down

0 comments on commit 4496c94

Please sign in to comment.