Reputation: 165
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
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