# Add Variable Dump to Export Log to File

**URL:** https://www.finalbuilder.com/forums/t/add-variable-dump-to-export-log-to-file/4761
**Category:** Feature Requests
**Created:** [February 22, 2010, 2:29am UTC](https://www.finalbuilder.com/forums/t/add-variable-dump-to-export-log-to-file/4761 "2010-02-22T02:29:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sexy-trousers](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sexy-trousers/32/97_2.png) [@sexy-trousers](https://www.finalbuilder.com/forums/u/sexy-trousers)
#### Post date: [February 22, 2010, 2:29am UTC](https://www.finalbuilder.com/forums/t/add-variable-dump-to-export-log-to-file/4761/1 "2010-02-22T02:29:08Z")

</div>

Sometimes in the exported error log an error is reported regarding a variable value that is being expanded in an action, but the log only lists the variable name and not the expanded values. Having an optional&nbsp;block added to the log with a full variable dump at the time of the error would be helpful...&nbsp; TJ

---

<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 23, 2010, 5:04am UTC](https://www.finalbuilder.com/forums/t/add-variable-dump-to-export-log-to-file/4761/2 "2010-02-23T05:04:47Z")

</div>

Hi TJ,   
  
 If the error causes the project to fail then you can add a ‘Log Variables’ action to the OnFailure action list to log all variable values at the time of the error.   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![sexy-trousers](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sexy-trousers/32/97_2.png) [@sexy-trousers](https://www.finalbuilder.com/forums/u/sexy-trousers)
#### Post date: [February 23, 2010, 3:02am UTC](https://www.finalbuilder.com/forums/t/add-variable-dump-to-export-log-to-file/4761/3 "2010-02-23T03:02:05Z")

</div>

Good to know, thanks.
