docker-magento
docker-magento copied to clipboard
db log enable working?
Description https://experienceleague.adobe.com/docs/commerce-operations/configuration-guide/cli/enable-logging.html
Steps To Reproduce
- bin/magento dev:query-log:enable
- bin/magento cache:flush
Expected Result queries logged to var/debug/db.log
Actual Result var/debug folder empty
@salesigniter the var
directory is not synced back to the host for performance reasons. Have you checked the var
directory within the container?
You can do this either by running:
bin/cli cat var/debug/db.log
Or dropping into the container's shell with:
bin/bash