dev:query-log:enable
Enables SQL query logging for performance debugging.
Synopsis
bin/magento dev:query-log:enableExamples
Log slow queries with the PHP call stack — find which class is firing the query.
bin/magento dev:query-log:enable --include-call-stackSee also
Related commands in dev
Other dev:* commands you might want next.
dev:di:info
Provides information on Dependency Injection configuration for the Command.
dev:email:newsletter-compatibility-check
Scans newsletter templates for potential variable usage compatibility issues
dev:email:override-compatibility-check
Scans email template overrides for potential variable usage compatibility issues
dev:profiler:disable
Disables the application profiler.
dev:profiler:enable
Enables the application profiler with optional driver.
dev:query-log:disable
Disable DB query logging
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.