Make sure logging outputs any parameters for the sql query [noticket]