Use logging in the location module