log history document referrer - length