Configure logger.