Skip to content

Commit 1f2000c

Browse files
Merge pull request #8529 from openshift-cherrypick-robot/cherry-pick-7836-to-release-1.28
[release-1.28] Change process metrics collector log levels
2 parents 368cd23 + 999910e commit 1f2000c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/process/defunct_processes.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ func DefunctProcessesForPath(path string) (defunctCount uint, retErr error) {
5050

5151
stat, err := processStats(path, name)
5252
if err != nil {
53-
logrus.Debugf("Failed to get the status of process with PID %s: %v", name, err)
53+
logrus.Warnf("Failed to get the status of process with PID %s: %v", name, err)
5454
continue
5555
}
5656
if stat.State == "Z" {
57-
logrus.Warnf("Found defunct process with PID %s (%s)", name, stat.Comm)
57+
logrus.Debugf("Found defunct process with PID %s (%s)", name, stat.Comm)
5858
defunctCount++
5959
}
6060
}

0 commit comments

Comments
 (0)