From 17be83de467449f38a8395c30534a9cf0c03e5ea Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Wed, 29 Jan 2014 17:31:54 -0800 Subject: [PATCH] Remove the extremely verbose log messages --- server.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server.go b/server.go index 7c43cda..cde0cd8 100644 --- a/server.go +++ b/server.go @@ -121,7 +121,6 @@ func (s *Server) parsePacket(packet []byte, from net.Addr) error { // handleQuery is used to handle an incoming query func (s *Server) handleQuery(query *dns.Msg, from net.Addr) error { - log.Printf("[DEBUG] mdns: query from %v", from) var resp dns.Msg resp.SetReply(query) @@ -134,8 +133,6 @@ func (s *Server) handleQuery(query *dns.Msg, from net.Addr) error { } // Check if there is an answer - log.Printf("[DEBUG] mdns: %d records for %v", - len(resp.Answer), from) if len(resp.Answer) > 0 { return s.sendResponse(&resp, from) }