We run unit tests using nunit runner in team city. Our unit test library 'test.dll' has log4net integrated and writes to standard output as default whenever there is an exception executing a test. The problem is that the logs are being spitted to the team city build log with '\n' appended to every character of the exception message.
Please find attached the build log and let us know if something needs to be configured in team city. Also for the same reason the team city logger is timing out (see bottom of the log file for more details).
PS: After we redirected the Log4Net's output to a database they are not timing out any more and running fine.