print log query output incrementally at console