dotnet command spewing lots of weird data into the logs
Image: Ubuntu 2204
DotNet: 9.0.200
Basic dotnet commands with the verbosity turned down "-v minimal" produces loads of junk in the output logs e.g.
dotnet restore X-r Y -v minimal
[1F [1F [1F [1F [1F
This happens with every dotnet command. Any ideas what could be causing this? Our Build logs are a mess because of this
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 21 Feb, 2025 05:49 PM
Can you drop me a link to a build please?
2 Posted by matt_mckinstry on 21 Feb, 2025 06:06 PM
Discovered its new behaviour in the dotnet 9 sdk. It defaults its new terminal logger to on and it outputs lots of useless timings
The following appears to sort it
Specify the --tl:off command-line option to disable terminal logger for a specific command. Or, to disable terminal logger more broadly, set the MSBUILDTERMINALLOGGER environment variable to off
Many thanks
Support Staff 3 Posted by Feodor Fitsner on 21 Feb, 2025 06:24 PM
Got it, thanks for the update!
4 Posted by desautelsj on 12 Mar, 2025 05:59 PM
If you are still looking for a build to illustrate this situation, look at this one: https://ci.appveyor.com/project/Jericho/stronggrid/builds/51676379/...