modify log and report