adds backward compatibility for logging location without scheme