Enable MySQL query logging in Magento 2

Open file app/etc/di.xml

Search below text

Changed to

We can also pass the arguments as below

Leave a Reply

Your email address will not be published. Required fields are marked *