normalize log format