cleaning up log format