r2dbc-postgresql icon indicating copy to clipboard operation
r2dbc-postgresql copied to clipboard

Feature request: Enable finer configuration of SQL query logging

Open honza-zidek opened this issue 7 months ago • 0 comments
trafficstars

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.

honza-zidek avatar Mar 24 '25 17:03 honza-zidek