Roei Rom
Roei Rom

Reputation: 165

Can I view the console logs of my web app in azure?

I'm deploying a web app in azure using the container registry I created and an auto-generated webhook. And now I want to access the console logs of the webapp container, is this possible?

Upvotes: 3

Views: 3478

Answers (1)

user793891
user793891

Reputation:

Using the Portal, locate the Monitoring section in the App Service menu. Select App Service Logs and enable application logging.

You can access the logs via FTP or by using the Advanced Tools.

To stream the logs, select Log Stream to stream them directly in the Portal or use the CLI in a terminal:

az webapp log tail --name <appname> --resource-group <resourcegroupname>

There's a complete MS Learn module covering this topic.

Upvotes: 2

Related Questions