diff --git a/auth.go b/auth.go index b4b3585..bef8c19 100644 --- a/auth.go +++ b/auth.go @@ -12,6 +12,7 @@ import ( func reqPass(w http.ResponseWriter, r *http.Request) { defer log.PanicSafe() + log.LogInfo("reqPass called.") username := r.FormValue("UserName") var userID string g, err := dg.Guild(config.GuildID) diff --git a/site-api.go b/site-api.go index ec4f2b3..9e1d93c 100644 --- a/site-api.go +++ b/site-api.go @@ -20,7 +20,6 @@ var ( func topWrapper(r *http.Request) string { defer log.PanicSafe() - log.LogInfo(fmt.Sprintf("%s called topWrapper", getSessionIdentifier(r))) headerTemplate, err := ioutil.ReadFile("./static/header.tpl") if err != nil { log.LogError(fmt.Sprintf("Unable to open header template: ```%+v```", err)) @@ -38,7 +37,6 @@ func topWrapper(r *http.Request) string { func bodyWrapper(r *http.Request, template string) string { defer log.PanicSafe() - log.LogInfo(fmt.Sprintf("%s called bodyWrapper", getSessionIdentifier(r))) bodyTemplate, err := ioutil.ReadFile(fmt.Sprintf("./static/%+v.tpl", template)) if err != nil { log.LogError(fmt.Sprintf("Attempt to load %s.tpl failed. ```%+v```", template, err))