log statement formatting
remove input $line newline