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

Allow to dump the pool configuration #162

Open
jonenst opened this issue Apr 28, 2022 · 0 comments
Open

Allow to dump the pool configuration #162

jonenst opened this issue Apr 28, 2022 · 0 comments

Comments

@jonenst
Copy link

jonenst commented Apr 28, 2022

Feature Request

Is your feature request related to a problem? Please describe

I want to be sure of the actual pool configuration parameters (sometimes the configuration is inherited, overriden, etc).

Describe the solution you'd like

Hi, I'm using r2dbc-pool and would like to dump the pool configuration to stdout when it's initialized. I couldn't find an existing logger that I can enable to achieve this. As a comparision, for HikariCP, I enable the logger com.zaxxer.hikari.HikariConfig=DEBUG (random example from the internet: https://programmer.group/using-hikaricp-in-spring-mvc-project.html )

Describe alternatives you've considered

No easy alternative, except read my configuration really precisely and compute the whole configuration merge/override.

Teachability, Documentation, Adoption, Migration Strategy

in spring boot, logging.level.io.r2dbc.pool.ConnectionPoolConfiguration=DEBUG
It would be nice if it was a separate logger as the already existing private static final Logger logger = Loggers.getLogger(ConnectionPool.class); in ConnectionPool, to avoid having too much noise.

Thanks

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