Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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



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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

931 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you