add query_fetch_log for report