SQL Logging for Page Rendering
add ?logsql after the URL of a page to get a log of all the SQL queries executed to render that page
for applications with access control enabled, accessing this log is disabled by default, it can be enabled using an access control rule:
rule logsql { check }
e.g.
rule logsql { principal.isAdmin }
