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

feature request: query logging #629

Open
dmig-alarstudios opened this issue Sep 30, 2020 · 3 comments
Open

feature request: query logging #629

dmig-alarstudios opened this issue Sep 30, 2020 · 3 comments

Comments

@dmig-alarstudios
Copy link

@dmig-alarstudios dmig-alarstudios commented Sep 30, 2020

I could not find any issue/question/pr related to this, so I'm starting a new one.

It would be great to have query logging implemented inside asyncpg:

  • to see all executed queries and their parameters
  • especially nice would be to have a query cache logging to see cache hits/misses
@elprans
Copy link
Member

@elprans elprans commented Sep 30, 2020

Not a bad idea. Patches are welcome.

@dmig
Copy link

@dmig dmig commented Oct 1, 2020

Are there any performance tests in the repo?

@dmig-alarstudios
Copy link
Author

@dmig-alarstudios dmig-alarstudios commented Oct 1, 2020

Could you please have a look at changes while I'm fixing and writing new tests?

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.