NEvermind. Using TO_FILE instead of TO_LOG works and does not print the emplty new line.