Lower log level for following redirects. (#3972)
This commit is contained in:
parent
77f6b1e396
commit
1ad8c70c36
|
|
@ -406,7 +406,7 @@ func (va *ValidationAuthorityImpl) processHTTPValidation(
|
|||
records := []core.ValidationRecord{baseRecord}
|
||||
numRedirects := 0
|
||||
processRedirect := func(req *http.Request, via []*http.Request) error {
|
||||
va.log.Infof("processing a HTTP redirect from the server to %q\n", req.URL.String())
|
||||
va.log.Debugf("processing a HTTP redirect from the server to %q\n", req.URL.String())
|
||||
// Only process up to maxRedirect redirects
|
||||
if numRedirects > maxRedirect {
|
||||
return berrors.ConnectionFailureError("Too many redirects")
|
||||
|
|
@ -437,7 +437,7 @@ func (va *ValidationAuthorityImpl) processHTTPValidation(
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
va.log.Infof("following redirect to host %q url %q\n", req.Host, req.URL.String())
|
||||
va.log.Debugf("following redirect to host %q url %q\n", req.Host, req.URL.String())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue