must format twice,wf may not be same with regular log.