Updated query logging to provide parameter array keys along with values in log statements