Related to Deploying .NET Applications To Azure.
Its supprisingly complicted to find logs in the Azure Portal, perhaps AI will make it better soon.
Find the Revision
- Resource group ->
demo-rg-bb8c7a39-dev-> Container App ->demo-aca-bb8c7a39-dev-> Activity Log ->Create or Update Container App->Create or Update Container App-> Change history ->properties.provisioningState
Look for image, here the version 965d7c3 is my commit Sha so I can see what code I changed
1 | old new |
Then look for latestRevisionName, here kj2aaos is the revision running in Azure
1 | old new |
Find the container logs by Revision
- Resource group ->
demo-rg-bb8c7a39-dev-> Container App ->demo-aca-bb8c7a39-dev-> MonitoringLog streamselect the Revision matchingkj2aaos, this is going to give you the running container logs, so you can see why you code code sucks :DLogsyou can write and execute your own log queries, this is helpful when you have heaps of logs and need to diagnose problems.