-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[Mvc] Add EventSource tracing to application part discovery #14343
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
Comments
Do you have some examples of bugs/investigations we could short circuit with this? |
Sample issues this would help troubleshoot To name a few, but there are more. With tracing we can answer the following questions:
|
Just and FYI the reason DI has to use event source is because logging isn’t possible. Why not just log it as debug? |
It’s not possible either. The container is not yet built at the time it happens. |
@javiercn why not log the results instead of logging the process or building those results? |
@davidfowl Because logging information during the process is what it is useful in troubleshooting the issue. When this issue happens the result is typically an empty application parts list, which gives you no clue as to why you ended up there. |
Moving this to happen now as this will help with future investigations a lot. |
Thanks for contacting us. We're moving this issue to the |
Thanks for contacting us. We're moving this issue to the |
The text was updated successfully, but these errors were encountered: