From cedbb3f17355448448bfbee95ed39329bc6013c1 Mon Sep 17 00:00:00 2001 From: hmol233 <82594500+hmol233@users.noreply.github.com> Date: Wed, 5 May 2021 23:31:22 +0800 Subject: [PATCH] Remove extra access log --- app/dns/nameserver_doh.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/dns/nameserver_doh.go b/app/dns/nameserver_doh.go index 2b38a87d..81e5561d 100644 --- a/app/dns/nameserver_doh.go +++ b/app/dns/nameserver_doh.go @@ -80,12 +80,6 @@ func NewDoHNameServer(url *url.URL, dispatcher routing.Dispatcher) (*DoHNameServ if err != nil { return nil, err } - log.Record(&log.AccessMessage{ - From: "DoH", - To: s.dohURL, - Status: log.AccessAccepted, - Detour: "local", - }) cc := common.ChainedClosable{} if cw, ok := link.Writer.(common.Closable); ok {