Adding a logger.