File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
articles/azure-monitor/app Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ Send diagnostic tracing logs for your ASP.NET/ASP.NET Core application from ILog
27
27
Install your chosen logging framework in your project, which should result in an entry in app.config or web.config.
28
28
29
29
``` XML
30
- <configuration >
31
- <system .diagnostics>
32
- <trace autoflush = " true " indentsize = " 0 " >
30
+ <configuration >
31
+ <system .diagnostics>
32
+ <trace >
33
33
<listeners >
34
34
<add name =" myAppInsightsListener" type =" Microsoft.ApplicationInsights.TraceListener.ApplicationInsightsTraceListener, Microsoft.ApplicationInsights.TraceListener" />
35
35
</listeners >
36
36
</trace >
37
37
</system .diagnostics>
38
- </configuration >
38
+ </configuration >
39
39
```
40
40
41
41
## Configure Application Insights to collect logs
You can’t perform that action at this time.
0 commit comments