dotnet command spewing lots of weird data into the logs

matt_mckinstry's Avatar

matt_mckinstry

21 Feb, 2025 04:34 PM

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
    

This happens with every dotnet command. Any ideas what could be causing this? Our Build logs are a mess because of this

  1. Support Staff 1 Posted by Feodor Fitsner on 21 Feb, 2025 05:49 PM

    Feodor Fitsner's Avatar

    Can you drop me a link to a build please?

  2. 2 Posted by matt_mckinstry on 21 Feb, 2025 06:06 PM

    matt_mckinstry's Avatar

    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

  3. Support Staff 3 Posted by Feodor Fitsner on 21 Feb, 2025 06:24 PM

    Feodor Fitsner's Avatar

    Got it, thanks for the update!

  4. 4 Posted by desautelsj on 12 Mar, 2025 05:59 PM

    desautelsj's Avatar

    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/...

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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