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

c.lashley 1 Reputation point
2020-09-16T21:40:41.767+00:00

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,601 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 4,951 Reputation points Microsoft Employee
    2020-09-17T06:56:37.25+00:00

    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?