add utility class to log jdbc error and warnings