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

c.lashley 6 Reputation points

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.
4,016 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,231 Reputation points Microsoft Employee

    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?