add log to record every fame