From 0d895b42e741aea09b3cdbc9aca415ed6d67f3c9 Mon Sep 17 00:00:00 2001 From: Jonathan Ribas Date: Tue, 10 Dec 2024 18:12:35 +0100 Subject: [PATCH] [CWS] Lower a noisy ptrace info log to debug (#31976) (cherry picked from commit 7f4316fe336920e1e5fb38e88c0d471695fcda2c) --- pkg/security/probe/probe_ebpf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/security/probe/probe_ebpf.go b/pkg/security/probe/probe_ebpf.go index 7a715dce27fa2..79a352d4d5cb3 100644 --- a/pkg/security/probe/probe_ebpf.go +++ b/pkg/security/probe/probe_ebpf.go @@ -1096,7 +1096,7 @@ func (p *EBPFProbe) handleEvent(CPU int, data []byte) { } else { pid, err := utils.TryToResolveTraceePid(event.ProcessContext.Process.Pid, event.PTrace.NSPID) if err != nil { - seclog.Errorf("PTrace err: %v", err) + seclog.Debugf("PTrace err: %v", err) return } pidToResolve = pid