From 0189eaf9a56c243569a61261428d30b003f68db8 Mon Sep 17 00:00:00 2001 From: David Wertenteil Date: Thu, 11 Jan 2024 07:39:28 +0200 Subject: [PATCH] remove log Signed-off-by: David Wertenteil --- pkg/dnsmanager/dns_manager.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/dnsmanager/dns_manager.go b/pkg/dnsmanager/dns_manager.go index 09ad918e..bc2a434f 100644 --- a/pkg/dnsmanager/dns_manager.go +++ b/pkg/dnsmanager/dns_manager.go @@ -5,8 +5,6 @@ import ( "github.com/goradd/maps" tracerdnstype "github.com/inspektor-gadget/inspektor-gadget/pkg/gadgets/trace/dns/types" - "github.com/kubescape/go-logger" - "github.com/kubescape/go-logger/helpers" ) // DNSManager is used to manage DNS events and save IP resolutions. It exposes an API to resolve IP address to domain name. @@ -28,7 +26,6 @@ func (dm *DNSManager) ProcessDNSEvent(dnsEvent tracerdnstype.Event) { dm.addressToDomainMap.Set(address, dnsEvent.DNSName) } } else { - logger.L().Debug("DNS event has no addresses, using net.LookupIP instead", helpers.String("dnsName", dnsEvent.DNSName)) addresses, err := net.LookupIP(dnsEvent.DNSName) if err != nil { return