Hi,
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.
Why is this happening? How can I prevent these irrelevant information from being logged?
Thanks
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.