remove NL from log line