Hopefully got rid of the extra characters in the logging when using streams