enable infinite recursive logging of the query object