added logs for exception in DB connection
added method to export stacktrace as a String to Utiliry class
raised the logging level to trace