Remove extra newline in logging output.