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?
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
1 answer
Sort by: Oldest
-
MikeUrnun 5,511 Reputation points
2020-09-17T06:56:37.25+00:00
@c.lashley Okay, in that case where you want to see logs from your runtime, you can use the App Insights integration as described in the following documentation: Monitor Azure Functions Specifically, in your code where you establish DB connection, you can add a logging statement and the logs will be captured to the App Insights.