# Variable values passed on to the fb script show up in the log

**URL:** https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974
**Category:** Discussion
**Created:** [April 26, 2012, 6:12am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974 "2012-04-26T06:12:49Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![ingrid.rooney](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/i/6bbea6/32.png) [@ingrid.rooney](https://www.finalbuilder.com/forums/u/ingrid.rooney)
#### Post date: [April 26, 2012, 6:12am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/1 "2012-04-26T06:12:49Z")

</div>

Hi,

We&nbsp;call final builder script from command line as:

FBCMD.EXE "/Pabc.fbp7" /TL "/VVar1=Var1;Var2=Var2"

A sample output log looks like:

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
&nbsp; FinalBuilder 6 - Copyright (c) 2008 VSoft Technologies Pty Ltd  
&nbsp; Version: 6.3.0.2172  
&nbsp; Professional Edition  
&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://www.finalbuilder.com/  
&nbsp; \* Registered to : PRICEWATERHOUSECOOPERS LLP  
&nbsp; \* Single Named Licence  
&nbsp; \* Serial No : \*\*\*\*\*\*   
&nbsp; Using specified variables  
&nbsp; \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
&nbsp; Variable [Var1] set to [Var1]  
&nbsp; Variable [Var2] set to [Var2]  
&nbsp; Project File: c:\abc.fbp6  
&nbsp; Build Started: 3/6/2012 12:38:35 PM  
&nbsp; &nbsp;   
&nbsp; &nbsp; [Start ActionList: Main]

.....

&nbsp;

However, I do not want the variable values being shown in the log. Is there a way to do this?

&nbsp;

Thanks,

Ingrid

&nbsp;

&nbsp;

&nbsp;

---

<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 26, 2012, 11:56am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/2 "2012-04-26T11:56:58Z")

</div>

Hi Ingrid   
  
 I have added a new command line option /XV which will stop those variables being logged.   
  
 [http://downloads.finalbuilder.com/downloads/finalbuilder/630/FB630\_2257.exe](http://downloads.finalbuilder.com/downloads/finalbuilder/630/FB630_2257.exe)

---

<div class="post-metadata">

### Author: ![ingrid.rooney](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/i/6bbea6/32.png) [@ingrid.rooney](https://www.finalbuilder.com/forums/u/ingrid.rooney)
#### Post date: [April 26, 2012, 5:29am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/3 "2012-04-26T05:29:38Z")

</div>

We are using 2 versions on final builder: 7.0.0.1795 and 6.3.0.2172. Can you please provide the fix to both the builds?   
  
 Thanks

---

<div class="post-metadata">

### Author: ![ingrid.rooney](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/i/6bbea6/32.png) [@ingrid.rooney](https://www.finalbuilder.com/forums/u/ingrid.rooney)
#### Post date: [April 26, 2012, 8:11am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/4 "2012-04-26T08:11:34Z")

</div>

Hi Vincent,   
  
 This patch will not work for us because the log exlcuded every action’s output.   
  
 \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*   
 FinalBuilder 6 - Copyright © 2008 VSoft Technologies Pty Ltd   
 Version: 6.3.0.2257   
 Professional Edition   
[https://www.finalbuilder.com/](https://www.finalbuilder.com/)   
 \* Registered to : PRICEWATERHOUSECOOPERS LLP   
 \* Single Named Licence   
 \* Serial No :   
 Excluding actionlist messages from log   
 Excluding action start messages from log   
 Excluding action output from log   
 \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*   
 Project File: c:\abc.fbp6   
 Build Started: 4/26/2012 2:06:16 PM   
 Build Completed OK   
 Elapsed time: 0hrs 0min 33sec 310msec   
  
 We want the log output of each action except for the variables passed to the script. The same is the case when we include a project in another project. The variables passed along are displayed in the log. Is there an easy way to not show these variables passed in the log?   
  
 Thanks.

---

<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 27, 2012, 12:36pm UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/5 "2012-04-27T12:36:48Z")

</div>

Hmm… looks like I slipped up somewhere, that was not supposed to happen. Looking into it.

---

<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 27, 2012, 3:20am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/6 "2012-04-27T03:20:16Z")

</div>

I’m not able to reproduce this here. Can you confirm you were using just /XV and not one of the other /X options like /XA ?

---

<div class="post-metadata">

### Author: ![ingrid.rooney](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/i/6bbea6/32.png) [@ingrid.rooney](https://www.finalbuilder.com/forums/u/ingrid.rooney)
#### Post date: [April 27, 2012, 2:43am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/7 "2012-04-27T02:43:40Z")

</div>

Hi Vincent,   
  
 The exact command line that I am using is:   
  
 FBCMD.exe “/PC:\abc.fbp6” /TL “/XVvar1=var1;var2=var2”

---

<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 27, 2012, 4:07am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/8 "2012-04-27T04:07:47Z")

</div>

ok, that’s the problem, “/XVvar1=var1;var2=var2” is being treated as /XV /XA because /X can have mulitple options combined.   
  
 Try this :   
  
 FBCMD.exe “/PC:\abc.fbp6” /TL /XV /vvar1=“var1”;var2=“var2”

---

<div class="post-metadata">

### Author: ![ingrid.rooney](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/i/6bbea6/32.png) [@ingrid.rooney](https://www.finalbuilder.com/forums/u/ingrid.rooney)
#### Post date: [April 27, 2012, 11:22am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/9 "2012-04-27T11:22:45Z")

</div>

ok, that worked. Thanks a lot.   
  
 Now, I want to find out if there is a way to not show the variables shared/passed to an included project?   
 Also, can you please give us a patch for FB7 that we are using.   
  
 Thanks

---

<div class="post-metadata">

### Author: ![ingrid.rooney](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/i/6bbea6/32.png) [@ingrid.rooney](https://www.finalbuilder.com/forums/u/ingrid.rooney)
#### Post date: [May 1, 2012, 7:42am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/10 "2012-05-01T07:42:11Z")

</div>

Hi Vincent,   
  
 Can you pls give us the patch for FB7 as well?

---

<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: [May 2, 2012, 12:57pm UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/11 "2012-05-02T12:57:56Z")

</div>

Here’s the FB7 build :   
  
 [http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700\_1859.exe](http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700_1859.exe)

---

<div class="post-metadata">

### Author: ![ingrid.rooney](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/i/6bbea6/32.png) [@ingrid.rooney](https://www.finalbuilder.com/forums/u/ingrid.rooney)
#### Post date: [May 2, 2012, 3:17am UTC](https://www.finalbuilder.com/forums/t/variable-values-passed-on-to-the-fb-script-show-up-in-the-log/1974/12 "2012-05-02T03:17:43Z")

</div>

Thanks much Vincent.
