Skip to content

Commit e1916e6

Browse files
authored
Merge pull request #86561 from lgayhardt/appinsightsaspnetracelogs0826
App Insights .NET/.NET Core trace logs delete autoflush
2 parents 6cac50e + 924de63 commit e1916e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-monitor/app/asp-net-trace-logs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ Send diagnostic tracing logs for your ASP.NET/ASP.NET Core application from ILog
2727
Install your chosen logging framework in your project, which should result in an entry in app.config or web.config.
2828

2929
```XML
30-
<configuration>
31-
<system.diagnostics>
32-
<trace autoflush="true" indentsize="0">
30+
<configuration>
31+
<system.diagnostics>
32+
<trace>
3333
<listeners>
3434
<add name="myAppInsightsListener" type="Microsoft.ApplicationInsights.TraceListener.ApplicationInsightsTraceListener, Microsoft.ApplicationInsights.TraceListener" />
3535
</listeners>
3636
</trace>
3737
</system.diagnostics>
38-
</configuration>
38+
</configuration>
3939
```
4040

4141
## Configure Application Insights to collect logs

0 commit comments

Comments
 (0)