Azure Diagnostics Logging

Azure allows storing diagnostics logging to following storages:

  • File System
  • Blob Storage

Activity Log

Go to App Service > Activity Log.  Here you can see the Subscription Level (Billing) information like Publishing, Stopping & Restart service etc. 

image

Diagnose and solve problems

Here you can see the app performance, configuration, certificates related  issues.  image

image

App Service logs

For application level troubleshooting we have to use the App Service logs.  Set the Application Logging to On with Level to Verbose.  You can also make Detailed error messages to On.

image

Log Streaming

After enabling Application Logging & Detailed error messages you can view the App Service > Log Streaming window.  This will give live logging information. 

image

Try accessing the URL again and you should get the Logging text in the above window.  Copy the text and Save as HTML file to view the Sub Level error code & Verbose information.

Advanced Tools (Kudu Console)

Open Advanced Tool (Kudu Console) > Debug > CMD

image

KUDU Console will give multiple log information like Application, IIS, Data, Detailed errors etc.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s