rewrite tool

use timestamp for marking last message line.

Signed-off-by: Du, Changbin <changbin.du@gmail.com>