如何在 Application Insights 中查看日志?

Gri*_*ory 9 logging azure azure-web-app-service

我使用 Azure 容器注册表中的自定义容器在应用服务中创建了 Web 应用程序,为其启用了文件系统日志记录,并为此应用服务添加了 Application Insights。应用程序将日志写入此应用程序见解。但是如何在 Azure 门户中查看这些日志呢?我在 Application Insights 中打开“日志”子菜单,并在此处看到“查询”。我究竟做错了什么?为什么 Azure 不能在门户中仅提供完整日志?

Gri*_*ory 13

Application Insights->Transaction search 在这里您可以按 TRACE 类型过滤数据,这是您的应用程序日志

  • 谢谢你。微软并没有让事情变得简单,对吗? (2认同)