Remove extra access log

This commit is contained in:
hmol233 2021-05-05 23:31:22 +08:00
parent 4a4e160a54
commit cedbb3f173
No known key found for this signature in database
GPG Key ID: D617A9DAB0C992D5

View File

@ -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 {