You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
Create an Azure WebApp and add the New Relic .NET Agent extension.
NewRelic logfiles are written to C:\home\LogFiles\NewRelic and can be browsed, downloaded and edited via the Kudu Debug Console.
Browse to C:\home\LogFiles\NewRelic in the Kudu Debug Console and note which files are present.
Generate a Kudu Diagnostic Dump.
Note that two files are missing - one of the NewRelic.Profiler.*.log files and the newrelic_agent_xxx.log file.
Stop the WebApp
Generate a new Kudu Diagnostic Dump
Note that the two missing files are now included.
NewRelic uses Serilog for writing the log files, which retains an open handle to the file, but opens the file for shared access. There would appear to be some conflict with the Diagnostic Dump tool where it's trying to gain an exclusive lock on the files it adds to the output zip file.
Repro steps.
New Relic .NET Agent
extension.C:\home\LogFiles\NewRelic
and can be browsed, downloaded and edited via the Kudu Debug Console.C:\home\LogFiles\NewRelic
in the Kudu Debug Console and note which files are present.NewRelic.Profiler.*.log
files and thenewrelic_agent_xxx.log
file.NewRelic uses Serilog for writing the log files, which retains an open handle to the file, but opens the file for shared access. There would appear to be some conflict with the Diagnostic Dump tool where it's trying to gain an exclusive lock on the files it adds to the output zip file.
Debug your Azure website remotely.
My website is at https://sampleazurewebappcore.azurewebsites.net/
The text was updated successfully, but these errors were encountered: