# Action or script command to clear the log?

**URL:** https://www.finalbuilder.com/forums/t/action-or-script-command-to-clear-the-log/2987
**Category:** Bugs
**Created:** [April 30, 2008, 6:25am UTC](https://www.finalbuilder.com/forums/t/action-or-script-command-to-clear-the-log/2987 "2008-04-30T06:25:47Z")
**Posts on this page:** 3
**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: [April 30, 2008, 6:25am UTC](https://www.finalbuilder.com/forums/t/action-or-script-command-to-clear-the-log/2987/1 "2008-04-30T06:25:47Z")

</div>

With a long running project, such as continuous integration which might effectively run 24 hours a day, is there an action or a script command we can use to periodically clear the log?

&nbsp;

FinalBuilder version 5.5.0.707

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [April 30, 2008, 6:43am UTC](https://www.finalbuilder.com/forums/t/action-or-script-command-to-clear-the-log/2987/2 "2008-04-30T06:43:44Z")

</div>

Hi Steve  
  
No, this is not possible with FinalBuilder. Running FinalBuilder in a continuous loop for CI is probably not the best thing to do either.

FinalBuilder Server 6 provides proper CI and is our recommended solution, however this is how you could setup CI with FB5 (just one of many possibilities).  
  
1) create a stub project which

&nbsp;&nbsp;&nbsp; a) checks for source changes  
&nbsp;&nbsp;&nbsp; b) starts and instance of FBCmd to run the real project  
  
2) schedule the stub project to run every x minutes.  
  
This will allow your log file to only have actual builds, and you can ignore the log of the stub project.  
  
HTH

&nbsp;

---

<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: [April 30, 2008, 8:20am UTC](https://www.finalbuilder.com/forums/t/action-or-script-command-to-clear-the-log/2987/3 "2008-04-30T08:20:59Z")

</div>

Thanks.&nbsp; I'll give those suggestions a try.
