How do I configure Diagnostics when many websites are on the same Azure WebRole?
-
13-11-2019 - |
Question
I'm working an Azure Web role with many websites as described here. How should I configure the Diagnostics for this server to that I can log errors and events from not just the primary website but all websites in the deployment / role.
Solution
The diagnostics for individual web sites are logged using the role name, role instance name and (where appropriate) the IIS service ID - so the standard Azure diagnostics should work without needing to do any further work.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow