Adding logger.