add log for build_stage