update logger.