Fixing logger.