Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/8.0] Flow dashboard logs through the app host's logger #3598

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 11, 2024

Backport of #3523 to release/8.0

/cc @davidfowl

Customer Impact

If the dashboard fails to launch, there's no way to get the logs other than digging deeply into DCP guts to find logs for it. This is because we don't show the dashboard logs in the dashboard (amongst other things). This change allows users to turn on dashboard logging levels via configuration so we can get better diagnostics when failures occur in the wild.

Testing

Unit tests, manual tests, updated one sample to turn on the logging.

Risk

Low, the code is resilient to failures and will noop if dcp is unhealthy and we're unable to get the logs.

Regression?

No

…waiting for dashboard logs configurable - Disable all dashboard logging by default - Allow config override for default logging categories - Added tests
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Apr 11, 2024
@dotnet-policy-service dotnet-policy-service bot added the Servicing-consider Issue for next servicing release review label Apr 11, 2024
@danmoseley danmoseley added Servicing-approved Approved for servicing release and removed area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication labels Apr 11, 2024
@danmoseley danmoseley merged commit 62fd9c8 into release/8.0 Apr 11, 2024
7 checks passed
@danmoseley danmoseley deleted the backport/pr-3523-to-release/8.0 branch April 11, 2024 09:26
@danmoseley danmoseley mentioned this pull request Apr 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Servicing-approved Approved for servicing release Servicing-consider Issue for next servicing release review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants