add query id in log