Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Log file of Visual Studio buildtools contains all plan variables even "secret" ones!!!

farhad0987654321 May 29, 2022


I am trying to build my test database project using Bamboo and Visual Studio 2022 Build Tools. I want to generate a log file containing build logs.

My build script is something like below:

"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe" ^
C:\bamboo-home\local-working-dir\P1-PL1-BDJ\DbSource\Database3.sln /maxCpuCount /t:Rebuild /p:Configuration=Release /fileLogger1 /fileLoggerParameters1:LogFile=C:\bamboo-home\local-working-dir\P1-PL1-BDJ\DbSource\MSBuildLog.txt;Append;Verbosity=diagnostic;Encoding=UTF-8


After the execution, the generated MSBuildLog.txt contains all plan variables' value unencrypted! They are even not used for this build task.

Screenshot 2022-05-30 075952.png

Why is this happening? How can I prevent these irrelevant information from being logged?



1 answer

0 votes
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 30, 2022

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events