Query generators now log their generated queries