From: David Gageot Date: Thu, 12 Jul 2012 11:46:09 +0000 (+0200) Subject: Add logs X-Git-Tag: 3.2~110 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9106ee2ece7ae47c04da29e1c4d435852647a175;p=sonarqube.git Add logs --- 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());