# Export log files are appended

**URL:** https://www.finalbuilder.com/forums/t/export-log-files-are-appended/1104
**Category:** Discussion
**Created:** [February 10, 2009, 6:26am UTC](https://www.finalbuilder.com/forums/t/export-log-files-are-appended/1104 "2009-02-10T06:26:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [February 10, 2009, 6:26am UTC](https://www.finalbuilder.com/forums/t/export-log-files-are-appended/1104/1 "2009-02-10T06:26:08Z")

</div>

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.&nbsp;

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

&nbsp;

Thanks

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [February 11, 2009, 12:02pm UTC](https://www.finalbuilder.com/forums/t/export-log-files-are-appended/1104/2 "2009-02-11T12:02:13Z")

</div>

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.
