Skip to content

Commit 928f0ec

Browse files
committed
Move looking up info for HTTP validation to warn level
1 parent 6e96d7c commit 928f0ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

httphandlers.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (am *ACMEIssuer) distributedHTTPChallengeSolver(w http.ResponseWriter, r *h
7474
host := hostOnly(r.Host)
7575
chalInfo, distributed, err := am.config.getChallengeInfo(r.Context(), host)
7676
if err != nil {
77-
am.Logger.Error("looking up info for HTTP challenge",
77+
am.Logger.Warn("looking up info for HTTP challenge",
7878
zap.String("host", host),
7979
zap.String("remote_addr", r.RemoteAddr),
8080
zap.String("user_agent", r.Header.Get("User-Agent")),
@@ -165,7 +165,7 @@ func (iss *ZeroSSLIssuer) distributedHTTPValidationAnswer(w http.ResponseWriter,
165165
host := hostOnly(r.Host)
166166
valInfo, distributed, err := iss.getDistributedValidationInfo(r.Context(), host)
167167
if err != nil {
168-
logger.Error("looking up info for HTTP validation",
168+
logger.Warn("looking up info for HTTP validation",
169169
zap.String("host", host),
170170
zap.String("remote_addr", r.RemoteAddr),
171171
zap.String("user_agent", r.Header.Get("User-Agent")),

0 commit comments

Comments
 (0)