Export log files are appended

Hi,

I used the file iterator to get all my solution files and then and a actions list that build .sln files. This loop will go through all my compilations, the problem I'm running into is that I want to export the log file for each solution build, which I have right after the compile action but the logged information is appended even though I have it exported to individual log files. 

Is there anyway I can clear the log before each exported log file? Basically I just want to export the log containing only the build.

 

Thanks

Hi Owen,

Their’s no way to clear the log of previous action list runs, you’ll need to use the ‘Log to Variable’ property on the build action to log it’s output to a variable then use the write to text file action to export the log to a file.

Regards,
Paul.