add lengh of scan_record to logged result