add query singed log by fromtime and totime