Variable's value encryption

Hi,

Is there a way that the Variable's value will appear in the build log as *** or won't appear at all?

Cheers,

ran.

Not easily. The issue is that variables are generally written to the log after they have been expanded, and once that’s done there is no relationship between the variable and the code that writes the resulting text to the log. Where are you seeing the variable? For password fields we generally hide those from the log when writing command lines to the log, if there’s a specific action where we are not doing this then let us know and we’ll fix that.

Hi Vincen,

Thank you for the reply.

I'm seeing the variable when I'm using something like this in "run dos command":

vsh -2 %SERVERHOSTNAME% --pw %SERVERPASSWORD% xcopy ....

For the moment I'm using the find and replace option for changing to ***** before the log is being sent by email.

Cheers,

ranch.

In this case you can use an Action Output Monitor to suppress the message from the log :

http://help.finalbuilder.com/action_output_monitors.htm?zoom_highlightsub=monitor

Is this valid… I dont see this action anymore in the latest Final Builder! Any help here? I have the same situation

Hi Sree,

At this stage there is no variable encryption action, which is mentioned in the title of the post. The way to achieve the outcome Ranch required here was to use an output monitor on the action which the output needed to be suppressed on.

Output monitors are available on most actions and allow the review of output from the action. The monitor can then suppress output lines, or everything the action produces.

The help for output monitors is located online at this address:
http://help.finalbuilder.com/action_output_monitors.htm?zoom_highlightsub=monitor