Added logging for query params