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 FlushDatabaseQueryLog for cleaning up database query log #394

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

nazmulpcc
Copy link
Contributor

As mentioned in #392 , when database query logging is enabled, the logs are not cleared after a request is handled. This PR fixes that issue by introducing a new listener(FlushDatabaseQueryLog ) that calls flushQueryLog on each db connections.

@taylorotwell taylorotwell merged commit e5abf72 into laravel:1.x Oct 4, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants