Duplicate Logs in App Insights #2028
Replies: 1 comment
-
Its because of Open Telemetry and logging both saving the same info. There is some overlap. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is this because we are using both:
AddApplicationInsightsTelemetry()
and Serilog.WriteTo.Conditional( ... x => x.ApplicationInsights(
?The docs say it automatically collects ILogger stuff: https://learn.microsoft.com/en-us/azure/azure-monitor/app/asp-net-core?tabs=netcorenew%2Cnetcore6#ilogger-logs
Do I need to maybe just disable AppInsights logging?
Would that work?
Beta Was this translation helpful? Give feedback.
All reactions