Setting the loglevel of the connectionbus_retrieve is the right way to go. Note that a form with a datagrid on it triggers multiple retrieves 1 for each filter 1 for each list aggregation result and one for the grid itself. To find the last one find the querie that has a limit equal to the number of the max amount of rows of the grid.
Furthermore there is a setting that automatically logs queries that take over the specified time. If you have reasons to believe your querie is slow on performance it might be worth to enable this setting. I forgot the name of this setting and will get back on that tomorrow.