add query time log