added logging of query params