use emitting logger for query resource