You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Microsoft.Extensions.ApiDescription.Server - Surface Invocation with new TerminalLogger #62273
Is your feature request related to a problem? Please describe the problem.
running a dotnet build on an ASP.NET Core project, does not indicate when Microsoft.Extensions.ApiDescription.Server runs the GetDocument tool. This is due to dotnet's new Terminal Logger, introduced in .NET 8.
Building with the new Terminal Logger disabled dotnet build --tl:off does show the logs from the tool invocation, including Generating document named 'v1'.
However, building with a Terminal Logger Verbosity flag set to detailed dotnet build -tlp:v=d does show the GetDocument logs.
Someone who is unaware these logs exist, will never be able to find them.
This can be an issue when debugging document generation.
Describe the solution you'd like
Surface these logs when using the new Terminal Logger, which is the default logger. This could be dependent on:
Looks like this issue has been identified as a candidate for community contribution. If you're considering sending a PR for this issue, look for the Summary Comment link in the issue description. That comment has been left by an engineer on our team to help you get started with handling this issue. You can learn more about our Help Wanted process here
I encountered this behavior as well while building a .NET 10 project on Linux.
The new TL is clean, but hiding important tool execution logs (like document generation) makes debugging unexpected failures tricky. Disabling it via --tl:off works as a temporary workaround, but it would be much better if these logs were visible by default.
Activity
captainsafia commentedon Jul 24, 2025
This is a sensible proposal. PR welcome assuming we can do thorough validation on this change.
dotnet-policy-service commentedon Jul 24, 2025
Looks like this issue has been identified as a candidate for community contribution. If you're considering sending a PR for this issue, look for the
Summary Commentlink in the issue description. That comment has been left by an engineer on our team to help you get started with handling this issue. You can learn more about our Help Wanted process hereSurface ApiDescription.Server logs in Terminal Logger
Surface ApiDescription.Server logs in Terminal Logger
feat: Surface generated OpenAPI document paths via MSBuild Message
Fix TerminalLogger hiding Exec output
Surface dotnet-getdocument output to Terminal Logger
WBorland89 commentedon Jun 1, 2026
Hey, I'm new to this repo and to contribution in general. Just wanted to clarify the preferred approach to get started.
zeezo679 commentedon Jun 26, 2026
I encountered this behavior as well while building a .NET 10 project on Linux.
The new TL is clean, but hiding important tool execution logs (like document generation) makes debugging unexpected failures tricky. Disabling it via
--tl:offworks as a temporary workaround, but it would be much better if these logs were visible by default.feat(OpenApi): surface document generation in TerminalLogger (#66922)