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

Add a database log tail command? (tail-db aka watch-sql) #159

Open
JPustkuchen opened this issue Jan 15, 2024 · 0 comments
Open

Add a database log tail command? (tail-db aka watch-sql) #159

JPustkuchen opened this issue Jan 15, 2024 · 0 comments
Labels
enhancement New feature or request priority-low

Comments

@JPustkuchen
Copy link
Member

Just read through https://dri.es/effortless-inspecting-of-drupal-database-queries?utm_source=The+Weekly+Drop&utm_medium=email&utm_campaign=The_Weekly_Drop_Issue_615_01_11_2024

Which lead to the idea that we could provide a ddev tail-db command that allows logging database requests in realtime (even without logging them persistently)?

Background: https://de.wikipedia.org/wiki/Tail_(Unix)

Might be helpful to inspect database queries, e.g. for debugging or performance optimization.

But it's and egde-case so let's just safe the idea here! ;)

@JPustkuchen JPustkuchen added enhancement New feature or request priority-low labels Jan 15, 2024
@JPustkuchen JPustkuchen changed the title Add a database log tail command? Add a database log tail command? (tail-db aka watch-db) Jan 15, 2024
@JPustkuchen JPustkuchen changed the title Add a database log tail command? (tail-db aka watch-db) Add a database log tail command? (tail-db aka watch-sql) Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-low
Projects
None yet
Development

No branches or pull requests

1 participant