Database SQL Call Debugging (glide.db.trace)


The glide.db.trace system property is a debug flag that, when set to true, instructs the instance to print every database call to the instance’s localhost logs.

Enabling this property is usually seen as a last resort when troubleshooting an issue since it causes many SQL statements to be printed in the logs.   The SQL statements involved in performing an action in the instance may produce information that is not available anywhere else.

This flag is intended to be enabled for very short periods of time.  For example, a typical sequence of steps is to enable the property, reproduce the issue, then disable the property immediately after reproducing the issue.  If your instance has this property set to true, you should set it to false.  Having all the SQL statements printed to the logs may cause significant performance issues to the instance.