Skip to content
Snippets Groups Projects
Unverified Commit 90adc4f5 authored by Filipe Silva's avatar Filipe Silva Committed by GitHub
Browse files

fix: log /api/health calls (#31081)

Fix #14964
parent becf7974
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,7 @@
;; don't log calls to /health or /util/logs because they clutter up the logs (especially the window in admin) with
;; useless lines
(and (request.u/api-call? request)
(not (#{"/api/health" "/api/util/logs"} uri))))
(not (#{"/api/util/logs"} uri))))
(defn log-api-call
"Logs info about request such as status code, number of DB calls, and time taken to complete."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment