flush logs in query warm