mirror of
https://github.com/go-acme/lego.git
synced 2024-11-29 09:52:07 +02:00
Adjust logging output for http-01
This commit is contained in:
parent
466af28672
commit
09ff568758
@ -48,7 +48,7 @@ func (s *httpChallenge) Solve(chlng challenge, domain string) error {
|
||||
if strings.HasPrefix(r.Host, domain) && r.Method == "GET" {
|
||||
w.Header().Add("Content-Type", "text/plain")
|
||||
w.Write([]byte(keyAuth))
|
||||
logf("[INFO] Served key authentication")
|
||||
logf("[INFO][%s] Served key authentication", domain)
|
||||
} else {
|
||||
logf("[INFO] Received request for domain %s with method %s", r.Host, r.Method)
|
||||
w.Write([]byte("TEST"))
|
||||
|
Loading…
Reference in New Issue
Block a user