Skip to content
Snippets Groups Projects
Commit e4eacd2e authored by Hugo NOUTS's avatar Hugo NOUTS
Browse files

fix logs

parent 2e7553c7
No related branches found
No related tags found
No related merge requests found
Pipeline #54323 passed
......@@ -203,7 +203,7 @@ func main() {
}
mux := http.NewServeMux()
log.Info("Starting Server on port %d\n", *httpPort)
log.Infof("Starting Server on port %d\n", *httpPort)
mux.HandleFunc("/healthcheck", func(w http.ResponseWriter, r *http.Request) {
io.WriteString(w, "OK\n")
......@@ -580,7 +580,7 @@ func main() {
data.Set("redirect_uri", redirectUri)
data.Set("code", code)
// log.Debug("WL - GrdfInfo - Token - data sent is: ", data)
log.Debug("WL - GrdfInfo - Token - data sent is: ", data)
log.Info("WL - GrdfInfo - Token - Send request to access_token endpoint with authorization_code: ", tokenUrl)
response, err := http.PostForm(tokenUrl, data)
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment