add logger for location