Skip to content

Commit aac3517

Browse files
committed
Update DatabaseConfig.java
1 parent 940af16 commit aac3517

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

backend/src/main/java/es/codeurjc/wallypop/security/DatabaseConfig.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@
1616

1717
@Configuration
1818
public class DatabaseConfig {
19-
private static Logger log = (Logger) LoggerFactory.getLogger(DatabaseConfig.class);
2019
@Value("${DATABASE_URL:null}")
2120
private String databaseUrl;
2221
@Bean
2322
@ConditionalOnProperty("DATABASE_URL")
2423
public DataSource dataSource() throws URISyntaxException {
25-
log.log(Level.INFO, "Using database configured in DATABASE_URL=" + databaseUrl);
2624
HikariConfig config = new HikariConfig();
2725
URI uri = new URI(databaseUrl);
2826
String url = "jdbc:" + new URI("postgresql", null, uri.getHost(), uri.getPort(), uri.getPath(),

0 commit comments

Comments
 (0)