avoid hitting the max query log