Removal of '\r' in log messages