$ open source · GPL-3.0 — need a commercial license? imqueue.com →

SQL_PRETTIFY variable

Whether logged SQL is reformatted across multiple lines. Off by default.

Signature:

SQL_PRETTIFY: boolean

Remarks

Set SQL_PRETTIFY to a positive number to enable. Read once at import, so it is a deployment setting rather than something to toggle at runtime. Affects logging only — never the SQL that is executed.