<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Richard,</p>
<p>This should already be available in the debugging tools --> Query Logger</p>
<p>It was a recent QGIS grant project and developed by elpaso.</p>
<p>Greetings,</p>
<p>Andreas</p>
<p id="reply-intro">On 2022-07-29 10:25, Richard Duivenvoorde via QGIS-Developer wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="white-space: nowrap;">Doing some Postgis work with QGIS, I often asked myself what queries QGIS is firing to the database.</span><br /><span style="white-space: nowrap;">I can off course log that in the database, but I was wondering if QGIS had some 'signal' which could be use to pass the queries used to the Debugging Tools?</span><br /><br /><span style="white-space: nowrap;">I skimmed QgsDataProvider, QgsVectorDataProvider and the Postgres provider, but I think these are not so communicative as the QGIS Network request, so I think it will be harder then I hoped... as always :-(</span><br /><br /><span style="white-space: nowrap;">OR am I missing some signal which could be used?</span><br /><br /><span style="white-space: nowrap;">Regards,</span><br /><br /><span style="white-space: nowrap;">Richard Duivenvoorde</span><br /><br /><span style="white-space: nowrap;">PS else this is just a nice feature request for the Debugging Tools :-)</span><br />_______________________________________________<br /><span style="white-space: nowrap;">QGIS-Developer mailing list</span><br /><span style="white-space: nowrap;"><a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a></span><br /><span style="white-space: nowrap;">List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></span><br /><span style="white-space: nowrap;">Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></span></div>
</blockquote>
<p><br /></p>

</body></html>