Removed spammy logger and added debug logger.