Added debug statements to change_log saving