reformat single log line