Query logging option, long/lat validation