Adjust logging output for http-01

This commit is contained in:
xenolf 2015-12-27 19:18:38 +01:00
parent 466af28672
commit 09ff568758

View file

@ -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"))