From b8194a41c4f9d56af5cfcedeb5237b255949f3fe Mon Sep 17 00:00:00 2001 From: Mayank Pande Date: Mon, 29 Apr 2024 12:44:55 +0000 Subject: [PATCH] fix: removed logging --- containers/registry.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/containers/registry.go b/containers/registry.go index d4a97026..c3396deb 100644 --- a/containers/registry.go +++ b/containers/registry.go @@ -207,8 +207,6 @@ func (r *Registry) handleEvents(ch <-chan ebpftracer.Event) { case ebpftracer.EventTypeListenOpen: if c := r.getOrCreateContainer(e.Pid); c != nil { c.onListenOpen(e.Pid, e.SrcAddr, false) - } else { - klog.Infoln("TCP listen open from unknown container", e) } case ebpftracer.EventTypeListenClose: if c := r.containersByPid[e.Pid]; c != nil { @@ -219,14 +217,10 @@ func (r *Registry) handleEvents(ch <-chan ebpftracer.Event) { if c := r.getOrCreateContainer(e.Pid); c != nil { c.onConnectionOpen(e.Pid, e.Fd, e.SrcAddr, e.DstAddr, e.Timestamp, false) c.attachTlsUprobes(r.tracer, e.Pid) - } else { - klog.Infoln("TCP connection from unknown container", e) } case ebpftracer.EventTypeConnectionError: if c := r.getOrCreateContainer(e.Pid); c != nil { c.onConnectionOpen(e.Pid, e.Fd, e.SrcAddr, e.DstAddr, 0, true) - } else { - klog.Infoln("TCP connection error from unknown container", e) } case ebpftracer.EventTypeConnectionClose: srcDst := AddrPair{src: e.SrcAddr, dst: e.DstAddr}