add log and comment for dao redirect