1

I enabled the /var/debug/db.log with this:

bin/magento dev:query-log:enable

With two page loads in front end it generated 128025 lines. Is that normal?

1 Answer 1

4

Yes, this is normal.
For each query executed you also get the stack trace so you can easily check where that query was executed.
You can run it with --include-call-stack=false option to disable the stack trace.
run bin/magento dev:query-log:enable -h to see what other options you have available for the command.

1
  • Thanks. I found what i need Dec 29, 2022 at 14:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.