# Export log not efficient for big logs

**URL:** https://www.finalbuilder.com/forums/t/export-log-not-efficient-for-big-logs/309
**Category:** Discussion
**Created:** [January 15, 2007, 3:49am UTC](https://www.finalbuilder.com/forums/t/export-log-not-efficient-for-big-logs/309 "2007-01-15T03:49:02Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![nirsilgi](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/a6a055/32.png) [@nirsilgi](https://www.finalbuilder.com/forums/u/nirsilgi)
#### Post date: [January 15, 2007, 3:49am UTC](https://www.finalbuilder.com/forums/t/export-log-not-efficient-for-big-logs/309/1 "2007-01-15T03:49:02Z")

</div>

Hi.  
  
I am running builds with thousands of actions (itarations actually) and it seems that the export log action for these, takes very long time.  
  
For 3600 actions = 7 minutes  
For 6300 actions = 14 minutes  
  
This seems more than I can afford when I have build or deployment time limitations.  
  
Can this action be made more time efficient?  
  
Thanks,  
NirS

---

<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: [January 15, 2007, 8:50am UTC](https://www.finalbuilder.com/forums/t/export-log-not-efficient-for-big-logs/309/2 "2007-01-15T08:50:02Z")

</div>

Nir,  
  
I have the same findings - the logs take a long time to create and the HTML is so big that browsers seem to have a hard time dealing with them. I have requested a feature to help break up the logs:  
[https://www.finalbuilder.com/forums.aspx?forumid=7&postid=2266&view=topic](https://www.finalbuilder.com/forums.aspx?forumid=7&postid=2266&view=topic)  
  
But in the meantime, I generate my own mini-log by using the Write Text Action in append mode throughout my build script(s).

---

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [January 16, 2007, 4:23am UTC](https://www.finalbuilder.com/forums/t/export-log-not-efficient-for-big-logs/309/3 "2007-01-16T04:23:55Z")

</div>

The “standard” approach to the problems of verbose logs is usually “log levels”: each action would have a log level specifying how important the action is: starting the log might be 100, carrying out a file copy might be 20, and something really trivial and repetitive might be 5. Then, when you export the log, you could specify the minimum log level to include in the log. A summary might include 50 and above. Or a really comprehensive log might include 0 and above.  
  
In that situation, you’d probably export a semi-detailed log if the build succeeded, and a comprehensive one if it failed. And maybe summary-level logs during the build.  
  
Steve

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [January 19, 2007, 7:30am UTC](https://www.finalbuilder.com/forums/t/export-log-not-efficient-for-big-logs/309/4 "2007-01-19T07:30:23Z")

</div>

Ok… figured out the problem (we were filtering a recordset instead of using a range on an indexed table…). On my simple test, the performance has gone from around 17 seconds to export the log, to about 2 seconds.  
  
New build coming next week.  
  
.t8

---

<div class="post-metadata">

### Author: ![nirsilgi](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/a6a055/32.png) [@nirsilgi](https://www.finalbuilder.com/forums/u/nirsilgi)
#### Post date: [January 20, 2007, 12:47pm UTC](https://www.finalbuilder.com/forums/t/export-log-not-efficient-for-big-logs/309/5 "2007-01-20T12:47:49Z")

</div>

Very good news, thanks.

---

<div class="post-metadata">

### Author: ![ken\_turner](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/7993a0/32.png) [@ken\_turner](https://www.finalbuilder.com/forums/u/ken_turner)
#### Post date: [January 22, 2007, 8:22am UTC](https://www.finalbuilder.com/forums/t/export-log-not-efficient-for-big-logs/309/6 "2007-01-22T08:22:31Z")

</div>

“New build coming next week.” - I presume this means FB5.  
  
Any chance of incorporating this fix in FB4?

---

<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: [January 22, 2007, 11:26am UTC](https://www.finalbuilder.com/forums/t/export-log-not-efficient-for-big-logs/309/7 "2007-01-22T11:26:44Z")

</div>

I will have a look, depends on how different the source is for the export log function.
