문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top