From 9106ee2ece7ae47c04da29e1c4d435852647a175 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Thu, 12 Jul 2012 13:46:09 +0200 Subject: [PATCH] Add logs --- .../main/java/org/sonar/core/persistence/DefaultDatabase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java b/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java index 8e4b7f4625a..5ee2111cd6d 100644 --- a/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java +++ b/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java @@ -117,7 +117,7 @@ public class DefaultDatabase implements Database { private void initDatasource() throws Exception {// NOSONAR this exception is thrown by BasicDataSourceFactory // but it's correctly caught by start() - LOG.info("Create JDBC datasource"); + LOG.info("Create JDBC datasource to url " + properties.getProperty(DatabaseProperties.PROP_URL, DatabaseProperties.PROP_URL_DEFAULT_VALUE)); datasource = (BasicDataSource) BasicDataSourceFactory.createDataSource(extractCommonsDbcpProperties(properties)); String initStatement = dialect.getConnectionInitStatement(getSchema()); -- 2.39.5