newrelic-dotnet-agent
newrelic-dotnet-agent copied to clipboard
Agent log files excluded from Azure diagnostic dump
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
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