log warning messages for invalid locations