Fix excessive logging by creating a single point to create BasicDataSource, and if it is for hsqldb, setting a property to prevent hsqldb from reconfiguring java.util.logging.