Magento 2.x CLI Command To Enable Query Logs

There are following below command to enable Query Logs

php bin/magento dev:query-log:enable
php bin/magento cache:flush

After running above CLI Command, you should be able to see the log file at var/debug/db.log

Leave a Reply

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