Added  logger.