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

c.lashley 6 Reputation points
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.
5,016 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,811 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?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.