Use accounting to update iplog and location_log