purify log format