如何解决Python Azure 功能的诊断设置不起作用
...但在 Azure Log Analytics 中没有显示此设置的表。
根据 docs here,我应该看到一个名为 FunctionAppLogs
的表。
日志在哪里?
编辑 1: 一天后仍然丢失:
编辑 2:Log Analytics 工作区正确,并且函数在过去 24 小时内执行了多次。
- 仍然没有
FunctionAppLogs
表:
解决方法
这是正常的,因为日志信息不会立即显示出来。它有一段时间的延迟。根据我的测试,它在一个小时后出现。
====================更新======================
有两种猜测,你可以查一下:
-
Log Analytics workspace
是否配置正确。
- 无论您的
function
是否已运行,在函数运行之前都不会生成FunctionAppLogs
表。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。