Changes query log