dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
3.75k stars 432 forks source link

Write dashboard logs to disk #2882

Open JamesNK opened 7 months ago

JamesNK commented 7 months ago

If an end user sees a dashboard error, they don't have a straightforward way to see more information themselves or provide information to us.

The dashboard should write logs to disk somewhere. Logs should be rolling, size limited, warning level (or info?) and above.

If an end user has a problem with the dashboard, we can ask them to provide logs.

kvenkatrajan commented 6 months ago

@JamesNK what package will we be using for logging?

JamesNK commented 6 months ago

Probably serialog. However, there was pushback on doing this. I don't think it will happen in GA.

davidfowl commented 6 months ago

Moving to backlog. We're going to log to the apphost console for p6 like we do with DCP logs.