Added logging for location provider