Skip to content

Feature request: Enable finer configuration of SQL query logging #676

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

Open
honza-zidek opened this issue Mar 24, 2025 · 0 comments
Open

Comments

@honza-zidek
Copy link

honza-zidek commented Mar 24, 2025

Background

Currently, when I set io.r2dbc.postgresql.QUERY=DEBUG, all the SQLs are in the log.
In our application we run several scheduled jobs which fetch very often from the database and this completely clogs the log.
This makes it very difficult to use the log, and we have only two equally bad alternatives: either search through completely clogged log and have too much information, or miss the information completely. Neither of the alternatives is good :)

User Story

As a developer,
I'd like to be able to configure Query/Param logging only at the level of single repositories, or even better at the level of single methods,
in order to be able to read the log efficiently.

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

1 participant