Add an utility class to log jdbc error and warnings

## Context 
We needed to log jdbc error and warnings when an `SQLException` is thrown.

## Description
Add an utility class to log jdbc error and warnings.