mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-19 15:01:22 +02:00
moved API request log to debug level
This commit is contained in:
@@ -54,7 +54,7 @@ func checkHost(f http.HandlerFunc) http.HandlerFunc {
|
||||
http.Error(w, "forbidden", http.StatusForbidden)
|
||||
return
|
||||
}
|
||||
LogInfo(r).Interface("headers", r.Header).Msg("API request")
|
||||
LogDebug(r).Interface("headers", r.Header).Msg("API request")
|
||||
f(w, r)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user