Where can I find docker container logs for Azure App Service

后端 未结 5 2274
没有蜡笔的小新
没有蜡笔的小新 2021-02-20 10:40

I do have a Docker container running a .net core 2 app.

The logging is configured using this code in Program.cs

public static IWebHostBuilde         


        
5条回答
  •  面向向阳花
    2021-02-20 11:10

    Firstly you need to enable container logs

    [App Service] -> Monitoring -> App Service logs

    Then you can see container logs in [App Service] -> Monitoring -> Log stream

    UPD

    Also you can find logs in KUDU

    Then "Current Docker Logs"

提交回复
热议问题