Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db log enable working? #985

Open
kevinjavitz opened this issue Sep 8, 2023 · 1 comment
Open

db log enable working? #985

kevinjavitz opened this issue Sep 8, 2023 · 1 comment

Comments

@kevinjavitz
Copy link

Description
https://experienceleague.adobe.com/docs/commerce-operations/configuration-guide/cli/enable-logging.html

Steps To Reproduce

  1. bin/magento dev:query-log:enable
  2. bin/magento cache:flush

Expected Result
queries logged to var/debug/db.log

Actual Result
var/debug folder empty

@markshust
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants