Set the SQL logger directly on the Connection.