]> source.dussan.org Git - sonarqube.git/commitdiff
Add logs
authorDavid Gageot <david@gageot.net>
Thu, 12 Jul 2012 11:46:09 +0000 (13:46 +0200)
committerDavid Gageot <david@gageot.net>
Thu, 12 Jul 2012 11:46:09 +0000 (13:46 +0200)
sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java

index 8e4b7f4625af4a6784f02b880672b71cae89efd9..5ee2111cd6dc9b93bde07feb3f061bd603112bf1 100644 (file)
@@ -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());