Enable assembly binding logging (fusion) on an Azure App Service (Web App/Websites)?

437 views Asked by At

Just wondering if anyone can tell me the process for turning on binding logging for a YSOD that is happening on Azure App Service?

As far as I know there isn't any direct access that would permit registry editing or running fuslogvw (?); can the log file be retrieved to run the viewer on it locally? Do we have to code something in an AssemblyResolve event?

1

There are 1 answers

1
Ryan Hill On

Under application settings, you can add WEBSITE_FUSIONLOGGING_ENABLED and set the value to 1. There will be a blog post on this momentarily, so be on the lookout. Once enabled, you can navigate to offending page and the YSOD will display the FUSLOGVW log results. This setting only works ASP.NET Framework, so if your application is ASPNETCORE, this won't work. If this setting doesn't work, it may not have been rolled out to your region yet.