Working with Azure App Service
In an Infrastructure as a Service (IaaS) hosting model, you have full control over the operating system and software installed on the machine. It is very similar to the on-premises deployments that many of us are used to. You can access the servers via remote desktop, go through IIS logs, Windows Event Viewer, or files, and so on. When you move to the Platform as a Service (PaaS) hosting model, Azure takes care of managing the instances completely. This helps in saving a considerable amount of time as your engineers don't have to spend time managing the servers to keep up to date with respect to operating system, infrastructure, and security updates.
In this section, we will see how to do extensive logging and monitoring when you deploy your app in an Azure App Service plan (one of the PaaS offerings from Microsoft).
Enabling application logging in Azure App Service
To enable application logging, you need to perform the following steps:
...