[log2file]rewrite