Slightly change the log format

This commit is contained in:
Star Brilliant
2018-11-07 18:11:12 +08:00
parent afa0d563d0
commit bb1e21778a

View File

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