Added logging to DatabaseUtil.java