Set global to prevent query logging when outputting datastreams.