Log query string out