rewrite log from getData