I created a functionapp using a container image - how do I see the container logs?

c.lashley 1 Reputation point

I've used az fuctionapp create .... --deployment-container-image-name <image> to deploy my container as a azure function

How do I see the container logs?

If I run this container locally I see them with docker logs ...

If I deploy this image as a container instance I can see them with az container logs ...

I can't find them using the Azure Function commands.

Thank you

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,803 questions
No comments
{count} votes

1 answer

Sort by: Newest
  1. MikeUrnun 5,506 Reputation points

    Hi @c.lashley - Docker logs can be found at: https://<app_name>.scm.azurewebsites.net/api/logs/docker You might also check out the logs in: https://<app_name>.scm.azurewebsites.net/api/logstream Are you on Premium or App Service Plan tier?