You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing a web application with an embedded H2 database and the H2 console enabled (spring.h2.console.enabled=true), it would be useful if Spring Boot logged the JDBC connection URL so that users know how to connect to the database from the /h2/console endpoint.
As @wilkinsona mentioned elsewhere, it would be even better if the H2 console could be prepopulated with the right JDBC connection URL.
FWIW, the embedded database support in core Spring always logs the JDBC connection URL at INFO level (see org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory.initDatabase()).