Added logging to the instantiation of the consumer class to notify when an exception occurs then