-
Notifications
You must be signed in to change notification settings - Fork 93
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
Exported logs duplication for some ASP.NET core web apps on net6
#2994
Comments
.net6
@lachmatt I couldn't recreate the issue. I've attached the output from my console and listed the environmental variables I used below.
|
@rajkumar-rangaraj |
.net6
net6
Thank you, @lachmatt. I was able to reproduce the issue using your fork. The issue arises only when the CLR profiler is enabled on .NET 6.0. Interestingly, the issue doesn't manifest when only the Upon a bit of debugging, I noticed that two different types of IServiceCollection are created for this app type. However, when only
|
Bug Report
Symptom
Describe the bug
Logs are exported multiple times from application created with minimal api template (e.g dotnet new web).
Expected behavior
Logs should be exported once.
Runtime environment (please complete the following information):
Additional context
Issue seems to be connected with recent change: #2975
No issues when v1.0.1 of autoinstrumentation is used.
No issue with v1.0.2 on
net7.0
.No issue with v1.0.2 on
net6.0
for existing web app used for testing logs export.Reproduce
See sample application and test on fork.
PTAL @rajkumar-rangaraj
The text was updated successfully, but these errors were encountered: