Adding logging for query params

I think this might be helpful to see.