Explicitly add the global search scope to the logs
What does this MR do and why?
We didn't explicitly log the scope of global searches before. We could get it from the params, but logging them on the top level makes it easier to query.
How to set up and validate locally
- Run a search API call:
curl --header "PRIVATE-TOKEN: <private_token>" "http://gdk.test:3000/api/v4/search?scope=projects&search=flight"
- Check the logs for the API in
log/api_json.log
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Roy Zwambag