newrelic-dotnet-agent icon indicating copy to clipboard operation
newrelic-dotnet-agent copied to clipboard

Agent log files excluded from Azure diagnostic dump

Open tippmar-nr opened this issue 2 years ago • 2 comments

Description When an Azure WebApp or similar service is instrumented with the .NET Agent, the agent logs are written to C:\home\logfiles as expected. But when you run the Azure Diagnostic Dump (via Kudu or elsewhere), you will get the profiler logs but not the agent logs.

Expected Behavior Agent logs should be included in the diagnostic dump.

Additional context This was introduced with the switch to Serilog for agent logging in v10.11.0. This Serilog issue suggests we might need to use the flushToDiskInterval parameter in our configuration.

For Maintainers Only or Hero Triaging this bug Suggested Priority (P1,P2,P3,P4,P5): P3 Suggested T-Shirt size (S, M, L, XL, Unknown): S

tippmar-nr avatar Sep 08 '23 18:09 tippmar-nr

https://issues.newrelic.com/browse/NR-159202

This is looking more like a problem with the Azure Kudu Diagnostic Dump tool. I've opened an issue at https://github.com/projectkudu/kudu/issues/3484

tippmar-nr avatar Sep 08 '23 19:09 tippmar-nr