I am not sure if the carriage return should be here now that it's not guaranteed to do to stdout. If the logger adds a newline after each statement (which I presume it does), the carriage return will have no effect.