I've enabled the Devel query log, and it's logging most queries as expected. However, I've got this module which connects to another database and executes a few queries against that one. All queries goes through db_select(), db_query(), db_insert(), db_delete() or db_update().
However, queries executed against the other database (connection is configured on the fly, and not through the settings.php file) never appears in the query log.
Any way I can make it work, so that ALL queries appear in query log at the bottom of the page?
Note: Caching does not seem to have anything to do with it. I've cleared all caches, returned to the page, and still no queries appear in the query log.