We can do db logging via
<preference for="Magento\Framework\DB\LoggerInterface" type="Magento\Framework\DB\Logger\File" />
But it's Module Wise.
How can we do whole Magento wise (Fronend/Backend) or display all queries at end of page?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
di.xmlin one of your modules