Skip to content

Commit

Permalink
Reduced log level of "get hostname error" (fatedier#2165)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Milokita authored Dec 25, 2020
1 parent ed61049 commit c842558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/vhost/vhost.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c842558

Please sign in to comment.