Skip to content

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

@honza-zidek

Description

@honza-zidek

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions