From bb1e21778a5e4398cfa08d0335144f0c7482c7a6 Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Wed, 7 Nov 2018 18:11:12 +0800 Subject: [PATCH] Slightly change the log format --- doh-client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doh-client/client.go b/doh-client/client.go index e6c1768..53c1fee 100644 --- a/doh-client/client.go +++ b/doh-client/client.go @@ -263,7 +263,7 @@ func (c *Client) handlerFunc(w dns.ResponseWriter, r *dns.Msg, isTCP bool) { if shouldPassthrough { numServers := len(c.bootstrap) upstream := c.bootstrap[rand.Intn(numServers)] - log.Printf("Request %s %s %s is passed through %s.\n", questionName, questionClass, questionType, upstream) + log.Printf("Request \"%s %s %s\" is passed through %s.\n", questionName, questionClass, questionType, upstream) var reply *dns.Msg var err error if !isTCP {