You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Azure Functions日志本地可见但未在Application Insights中显示

日志未在Application Insights中显示的问题

已开展调研,日志级别配置理论上足以确保日志显示在Application Insights中,但实际并未生效。曾参考Stack Overflow上的相关帖子分析,但发现该方案并不适用于我的问题。

我的host.json配置如下:

{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingSettings": {
        "isEnabled": false
      },
      "enableLiveMetricsFilters": true
    },
    "logLevel": {
      "Function.MyFunction": "Information",
      "default": "Information"
    }
  }
}

看起来这应该是一个简单的修复,但目前尚未找到正确的解决办法。

内容的提问来源于stack exchange,提问作者Matt Perejda

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.16 14:04:49