add logger for record certain operate.