I'm currently in the middle of changing my application logging type from standard output to file.
I approached a problem with configuring Team City to automatically append my log file to build log, so I can see tests results and stack traces in case of fail.
I have tried googling it, but I have only find one suggestion to manually cat contains of log file to build log.