I am working on an ASP.NET MVC web application which I am hosting as a Web App on Azure
I am following the steps as mentioned in the post by ScottGu link to enable tracing
But I am running into a strange problem, when I publish my app using the Visual Studio DEBUG build configuration on Azure tracing works, but when I use any other configuration (ex - TEST or RELEASE) it doesn't. I also compared the web.configs for the different configuration and they are identical..
What am I doing wrong ?
Since you are having different behaviors in different configurations, it sounds to me like Define TRACE constant has been unchecked in your project's configuration under the Build tab. Make sure it is checked in all your configurations.