Search code examples
azureazure-web-app-servicenewreliccontinuous-deployment

Newrelic Azure website continues deployment Fails


We are using continues deployment from Visual stdio online to an Azure Website.

The deployment fails when we added new relic. "Exception Message: The file 'NewRelic.Profiler.3640.log' is in use."

If I Disable profiling, azure website>configure>app settings COR_ENABLE_PROFILING = 0 then the deployment works.

Is there some way to get this to work? Is it possible to add a step to the deployment process that sets COR_ENABLE_PROFILING = 0 and then afterward set COR_ENABLE_PROFILING = 1.


Solution

  • I was able to make the continues deployment work. If i copied the new relics folder out of the sites folder. And the change the new app config to use that one the site and deployment work. Not 100 % sure that new relic works but it seems to be doing alright