query logging re-enabled