Reduced log level of "get hostname error" (#2165)

Reduced log level of "get hostname from http/https request error" to debug so that it won't overwhelms the log file when user is using apache/ngix as their own SSL backend
This commit is contained in:
XNG 2020-12-25 13:39:26 +08:00 committed by GitHub
parent ed61049041
commit c842558ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ func (v *Muxer) handle(c net.Conn) {
sConn, reqInfoMap, err := v.vhostFunc(c)
if err != nil {
log.Warn("get hostname from http/https request error: %v", err)
log.Debug("get hostname from http/https request error: %v", err)
c.Close()
return
}