Save query_log
Rewrite