logs current location