Timeline for How to log all Magento 2 SQL queries?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 12, 2019 at 7:44 | comment | added | Siju Joseph | In latest version of magento (i'm checking on 2.3.1) You can use this: php bin/magento dev:query-log:enable --include-all-queries=1 --query-time-threshold=1 --include-call-stack=false (as mentioned by @Felix below) | |
S Mar 3, 2018 at 0:21 | history | suggested | Mykhailo Shatilov | CC BY-SA 3.0 |
Change target log directory to logs
|
Mar 2, 2018 at 20:20 | review | Suggested edits | |||
S Mar 3, 2018 at 0:21 | |||||
Nov 14, 2017 at 16:45 | comment | added | Felix | I am not sure, but this might not work anymore in 2.2 ; at least it doesnt in my case. | |
S Nov 8, 2017 at 9:59 | history | suggested | Felix | CC BY-SA 3.0 |
add hint about cache flushing
|
Nov 8, 2017 at 9:26 | review | Suggested edits | |||
S Nov 8, 2017 at 9:59 | |||||
S Sep 20, 2017 at 12:16 | history | suggested | Deepika Janiyani | CC BY-SA 3.0 |
we need to replace the existing preference for `Magento\Framework\DB\LoggerInterface` else it gives error.
|
Sep 20, 2017 at 11:52 | review | Suggested edits | |||
S Sep 20, 2017 at 12:16 | |||||
Mar 14, 2017 at 8:13 | vote | accept | Krishna ijjada | ||
Mar 3, 2017 at 10:43 | history | answered | Siju Joseph | CC BY-SA 3.0 |