Przeglądaj źródła

Remove extra access log

hmol233 5 lat temu
rodzic
commit
cedbb3f173
1 zmienionych plików z 0 dodań i 6 usunięć
  1. 0 6
      app/dns/nameserver_doh.go

+ 0 - 6
app/dns/nameserver_doh.go

@@ -80,12 +80,6 @@ func NewDoHNameServer(url *url.URL, dispatcher routing.Dispatcher) (*DoHNameServ
 			if err != nil {
 			if err != nil {
 				return nil, err
 				return nil, err
 			}
 			}
-			log.Record(&log.AccessMessage{
-				From:   "DoH",
-				To:     s.dohURL,
-				Status: log.AccessAccepted,
-				Detour: "local",
-			})
 
 
 			cc := common.ChainedClosable{}
 			cc := common.ChainedClosable{}
 			if cw, ok := link.Writer.(common.Closable); ok {
 			if cw, ok := link.Writer.(common.Closable); ok {