# Logging Direct Discovery access

Direct Discovery SQL statements passed to the data source can be recorded in the trace files of the database connection. For a standard ODBC connection, tracing is started with the ODBC Data Source Administrator:

![ODBC Data Source Administrator dialog.](https://help.qlik.com/en-US/sense/May2026/Subsystems/Hub/Content/Resources/Images/ui_ODBCAdmin.png)

The resulting trace file details SQL statements generated through the user selections and interactions.