Updated the message processor to add additional logging.