Fix tests after breaking BC by disabling query log by default