GitLab PostgresSQL Logs


I am using GitLab Omnibus CE. I am making several API calls to GitLab (get users, get projects) and would like to see the PostgreSQL logs (time information) for retrieving this information. I understand that when I retrieve this information using WebUI I can see these timings in production log. However, I do not see this information logged for API. Is there anyway to get these timings?

Is it possible to start the integrated PostgreSQL instance with “-d 5” option to see all the logs. How would I go about it for omnibus community edition.

I would greatly appreciate your help.