Cleaned up a couple log lines

This commit is contained in:
Matthew Holt 2015-12-02 12:33:37 -07:00
parent 24e8a55405
commit d9e2e2a873

View file

@ -119,9 +119,9 @@ func (s *httpChallenge) startHTTPServer(domain string, token string, keyAuth str
if strings.HasPrefix(r.Host, domain) && r.Method == "GET" { if strings.HasPrefix(r.Host, domain) && r.Method == "GET" {
w.Header().Add("Content-Type", "text/plain") w.Header().Add("Content-Type", "text/plain")
w.Write([]byte(keyAuth)) w.Write([]byte(keyAuth))
logf("Served Key Authentication ...") logf("[INFO] Served key authentication")
} else { } else {
logf("Received request for domain %s with method %s", r.Host, r.Method) logf("[INFO] Received request for domain %s with method %s", r.Host, r.Method)
w.Write([]byte("TEST")) w.Write([]byte("TEST"))
} }
}) })