Skip to content

Commit

Permalink
enable self-diagnostics in example app (#2305)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyMothra authored Jun 17, 2021
1 parent 43a5059 commit eb1c2cc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"LogDirectory": ".",
"FileSize": 1024,
"LogLevel": "Warning"
}
7 changes: 7 additions & 0 deletions examples/WebApp.AspNetCore/WebApp.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@
<ProjectReference Include="..\..\NETCORE\src\Microsoft.ApplicationInsights.AspNetCore\Microsoft.ApplicationInsights.AspNetCore.csproj" />
</ItemGroup>

<ItemGroup>
<!--This file enables self-diagnostics (https://github.com/microsoft/ApplicationInsights-dotnet/tree/develop/troubleshooting/ETW#self-diagnostics)-->
<Content Update="ApplicationInsightsDiagnostics.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>

</Project>

0 comments on commit eb1c2cc

Please sign in to comment.