getting executed sql querie from the QueryLog